aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-04-19 18:25:19 +0200
committerGuido Günther <agx@sigxcpu.org>2018-04-23 11:24:31 +0200
commitad22e023103fc737188cac0bb468eedbc4d3982e (patch)
tree1fe94ab94578db67859ce042fc62cc49e6dc65c8 /include
parentd4cb33c9fccc219c7d66e634618fe07c6daaf18d (diff)
rootston: Damage layer-shell popups
Diffstat (limited to 'include')
-rw-r--r--include/rootston/layers.h10
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);