diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-04-19 18:25:19 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-04-23 11:24:31 +0200 |
commit | ad22e023103fc737188cac0bb468eedbc4d3982e (patch) | |
tree | 1fe94ab94578db67859ce042fc62cc49e6dc65c8 /include | |
parent | d4cb33c9fccc219c7d66e634618fe07c6daaf18d (diff) |
rootston: Damage layer-shell popups
Diffstat (limited to 'include')
-rw-r--r-- | include/rootston/layers.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rootston/layers.h b/include/rootston/layers.h index 0e5164bb..9eab53ca 100644 --- a/include/rootston/layers.h +++ b/include/rootston/layers.h @@ -14,11 +14,21 @@ struct roots_layer_surface { struct wl_listener unmap; struct wl_listener surface_commit; struct wl_listener output_destroy; + struct wl_listener new_popup; bool configured; struct wlr_box geo; }; +struct roots_layer_popup { + struct roots_layer_surface *parent; + struct wlr_xdg_popup *wlr_popup; + struct wl_listener map; + struct wl_listener unmap; + struct wl_listener destroy; + struct wl_listener commit; +}; + struct roots_output; void arrange_layers(struct roots_output *output); |