summaryrefslogtreecommitdiffstats
path: root/include/extensions.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-14 18:57:37 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-14 18:57:37 -0400
commit6abbe04e7590f3bfba13351eb87ada70ac3d506e (patch)
treef7c64d6e9d082bd080960c42e21e54edf01839de /include/extensions.h
parentMerge pull request #726 from Hummer12007/hwc (diff)
parentSend command to sway to change workspace when workspace button is clicked (diff)
downloadsway-6abbe04e7590f3bfba13351eb87ada70ac3d506e.tar.gz
sway-6abbe04e7590f3bfba13351eb87ada70ac3d506e.tar.zst
sway-6abbe04e7590f3bfba13351eb87ada70ac3d506e.zip
Merge pull request #743 from deklov/panel-as-shell-03
Set panels/backgrounds' geometries correctly and don't render them ex…
Diffstat (limited to 'include/extensions.h')
-rw-r--r--include/extensions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/extensions.h b/include/extensions.h
index 7c508b5e..d26e95c1 100644
--- a/include/extensions.h
+++ b/include/extensions.h
@@ -11,8 +11,6 @@ struct background_config {
11 wlc_resource surface; 11 wlc_resource surface;
12 // we need the wl_resource of the surface in the destructor 12 // we need the wl_resource of the surface in the destructor
13 struct wl_resource *wl_surface_res; 13 struct wl_resource *wl_surface_res;
14 // used to determine if client is a background
15 struct wl_client *client;
16}; 14};
17 15
18struct panel_config { 16struct panel_config {
@@ -25,6 +23,8 @@ struct panel_config {
25 enum desktop_shell_panel_position panel_position; 23 enum desktop_shell_panel_position panel_position;
26 // used to determine if client is a panel 24 // used to determine if client is a panel
27 struct wl_client *client; 25 struct wl_client *client;
26 // wlc handle for this panel's surface, not set until panel is created
27 wlc_handle handle;
28}; 28};
29 29
30struct desktop_shell_state { 30struct desktop_shell_state {