From e59cffcea2a881f16de3716c6b24d93aceb8c79a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 29 Nov 2015 12:03:13 -0500 Subject: Support desktop shell panels in compositor --- include/extensions.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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; -- cgit v1.2.3