diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-29 12:03:13 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-29 12:03:13 -0500 |
commit | e59cffcea2a881f16de3716c6b24d93aceb8c79a (patch) | |
tree | a09447b6eb903573edb598c7b80ac7c3c492dee5 /include/extensions.h | |
parent | 60e76cf932e7b4d240af1f994a868e9f587c056d (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; |