diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-11-29 12:03:13 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-11-29 12:03:13 -0500 |
| commit | 9abf62600d7db81e417f81483dffc13ecff7592f (patch) | |
| tree | a09447b6eb903573edb598c7b80ac7c3c492dee5 /include/extensions.h | |
| parent | ad7aa73cca75790f1c8ebe4a95e844d54e3859e4 (diff) | |
Support desktop shell panels in compositor
Diffstat (limited to 'include/extensions.h')
| -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 @@ #ifndef _SWAY_EXTENSIONS_H #define _SWAY_EXTENSIONS_H +#include "wayland-desktop-shell-server-protocol.h" #include "list.h" #include "wlc/wlc-wayland.h" @@ -9,8 +10,16 @@ struct background_config { wlc_resource surface; }; +struct panel_config { + wlc_handle output; + wlc_resource surface; +}; + struct desktop_shell_state { list_t *backgrounds; + list_t *panels; + enum desktop_shell_panel_position panel_position; + struct wlc_size panel_size; }; extern struct desktop_shell_state desktop_shell; |
