summaryrefslogtreecommitdiffstats
path: root/include/extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extensions.h')
-rw-r--r--include/extensions.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/extensions.h b/include/extensions.h
index 1ef7d920..872fd3bd 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -1,18 +1,21 @@
1#ifndef _SWAY_EXTENSIONS_H 1#ifndef _SWAY_EXTENSIONS_H
2#define _SWAY_EXTENSIONS_H 2#define _SWAY_EXTENSIONS_H
3 3
4#include <wayland-server-core.h>
5#include <wlc/wlc-wayland.h>
4#include "wayland-desktop-shell-server-protocol.h" 6#include "wayland-desktop-shell-server-protocol.h"
5#include "list.h" 7#include "list.h"
6#include "wlc/wlc-wayland.h"
7 8
8struct background_config { 9struct background_config {
9 wlc_handle output; 10 wlc_handle output;
10 wlc_resource surface; 11 wlc_resource surface;
12 struct wl_resource *resource;
11}; 13};
12 14
13struct panel_config { 15struct panel_config {
14 wlc_handle output; 16 wlc_handle output;
15 wlc_resource surface; 17 wlc_resource surface;
18 struct wl_resource *resource;
16}; 19};
17 20
18struct desktop_shell_state { 21struct desktop_shell_state {
@@ -22,6 +25,12 @@ struct desktop_shell_state {
22 struct wlc_size panel_size; 25 struct wlc_size panel_size;
23}; 26};
24 27
28struct swaylock_state {
29 bool active;
30 wlc_handle output;
31 wlc_resource surface;
32};
33
25extern struct desktop_shell_state desktop_shell; 34extern struct desktop_shell_state desktop_shell;
26 35
27void register_extensions(void); 36void register_extensions(void);