aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-05 15:39:57 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-05 16:04:30 -0400
commitf242362e7e521a8f35f47572038a20d404d25327 (patch)
tree523748eb922a50f9e74a485b86f445f8bc759464 /include
parentAdd -Wno-unused-result (diff)
downloadsway-f242362e7e521a8f35f47572038a20d404d25327.tar.gz
sway-f242362e7e521a8f35f47572038a20d404d25327.tar.zst
sway-f242362e7e521a8f35f47572038a20d404d25327.zip
Handle output removal on swaybar
Diffstat (limited to 'include')
-rw-r--r--include/pool-buffer.h1
-rw-r--r--include/swaybar/bar.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/pool-buffer.h b/include/pool-buffer.h
index cdebd64d..856f7c8c 100644
--- a/include/pool-buffer.h
+++ b/include/pool-buffer.h
@@ -17,5 +17,6 @@ struct pool_buffer {
17 17
18struct pool_buffer *get_next_buffer(struct wl_shm *shm, 18struct pool_buffer *get_next_buffer(struct wl_shm *shm,
19 struct pool_buffer pool[static 2], uint32_t width, uint32_t height); 19 struct pool_buffer pool[static 2], uint32_t width, uint32_t height);
20void destroy_buffer(struct pool_buffer *buffer);
20 21
21#endif 22#endif
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index 503b961c..0037190b 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -49,6 +49,7 @@ struct swaybar_output {
49 struct wl_output *output; 49 struct wl_output *output;
50 struct wl_surface *surface; 50 struct wl_surface *surface;
51 struct zwlr_layer_surface_v1 *layer_surface; 51 struct zwlr_layer_surface_v1 *layer_surface;
52 uint32_t wl_name;
52 53
53 struct wl_list workspaces; 54 struct wl_list workspaces;
54 struct wl_list hotspots; 55 struct wl_list hotspots;