Handle output removal on swaybar

This commit is contained in:
Drew DeVault 2018-04-05 15:39:57 -04:00
parent 842a3ea45c
commit f242362e7e
7 changed files with 45 additions and 9 deletions

View file

@ -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

View file

@ -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;