diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/extensions.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/extensions.h b/include/extensions.h index 2fca23c1..1ef7d920 100644 --- a/include/extensions.h +++ b/include/extensions.h | |||
@@ -1,6 +1,7 @@ | |||
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-desktop-shell-server-protocol.h" | ||
4 | #include "list.h" | 5 | #include "list.h" |
5 | #include "wlc/wlc-wayland.h" | 6 | #include "wlc/wlc-wayland.h" |
6 | 7 | ||
@@ -9,8 +10,16 @@ struct background_config { | |||
9 | wlc_resource surface; | 10 | wlc_resource surface; |
10 | }; | 11 | }; |
11 | 12 | ||
13 | struct panel_config { | ||
14 | wlc_handle output; | ||
15 | wlc_resource surface; | ||
16 | }; | ||
17 | |||
12 | struct desktop_shell_state { | 18 | struct desktop_shell_state { |
13 | list_t *backgrounds; | 19 | list_t *backgrounds; |
20 | list_t *panels; | ||
21 | enum desktop_shell_panel_position panel_position; | ||
22 | struct wlc_size panel_size; | ||
14 | }; | 23 | }; |
15 | 24 | ||
16 | extern struct desktop_shell_state desktop_shell; | 25 | extern struct desktop_shell_state desktop_shell; |