mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Handle output removal on swaybar
This commit is contained in:
parent
842a3ea45c
commit
f242362e7e
7 changed files with 45 additions and 9 deletions
|
|
@ -17,5 +17,6 @@ struct pool_buffer {
|
|||
|
||||
struct pool_buffer *get_next_buffer(struct wl_shm *shm,
|
||||
struct pool_buffer pool[static 2], uint32_t width, uint32_t height);
|
||||
void destroy_buffer(struct pool_buffer *buffer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ struct swaybar_output {
|
|||
struct wl_output *output;
|
||||
struct wl_surface *surface;
|
||||
struct zwlr_layer_surface_v1 *layer_surface;
|
||||
uint32_t wl_name;
|
||||
|
||||
struct wl_list workspaces;
|
||||
struct wl_list hotspots;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue