diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-05 15:39:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-05 16:04:30 -0400 |
commit | f242362e7e521a8f35f47572038a20d404d25327 (patch) | |
tree | 523748eb922a50f9e74a485b86f445f8bc759464 /include | |
parent | Add -Wno-unused-result (diff) | |
download | sway-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.h | 1 | ||||
-rw-r--r-- | include/swaybar/bar.h | 1 |
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 | ||
18 | struct pool_buffer *get_next_buffer(struct wl_shm *shm, | 18 | struct 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); |
20 | void 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; |