aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-22 16:01:32 +0100
committeremersion <contact@emersion.fr>2018-01-22 16:01:32 +0100
commit3f1c4f5be799a63ddd75284847bf0e78f77369bf (patch)
treea850df187e7fba4c4e644600bf32bb05e375ac20 /include
parenta8cb02f585dcee9d72beb97c8fc78e2e63d6ac2d (diff)
rootston: damage tracking for wl_shell
Diffstat (limited to 'include')
-rw-r--r--include/rootston/view.h9
-rw-r--r--include/wlr/types/wlr_wl_shell.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 8cfdf321..99e47deb 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -11,6 +11,7 @@ struct roots_wl_shell_surface {
struct roots_view *view;
struct wl_listener destroy;
+ struct wl_listener new_popup;
struct wl_listener request_move;
struct wl_listener request_resize;
struct wl_listener request_maximize;
@@ -135,6 +136,14 @@ struct roots_subsurface {
struct wl_listener destroy;
};
+struct roots_wl_shell_popup {
+ struct roots_view_child view_child;
+ struct wlr_wl_shell_surface *wlr_wl_shell_surface;
+ struct wl_listener destroy;
+ struct wl_listener set_state;
+ struct wl_listener new_popup;
+};
+
struct roots_xdg_popup_v6 {
struct roots_view_child view_child;
struct wlr_xdg_popup_v6 *wlr_popup;
diff --git a/include/wlr/types/wlr_wl_shell.h b/include/wlr/types/wlr_wl_shell.h
index 375477c7..00f2bb69 100644
--- a/include/wlr/types/wlr_wl_shell.h
+++ b/include/wlr/types/wlr_wl_shell.h
@@ -79,6 +79,7 @@ struct wlr_wl_shell_surface {
struct {
struct wl_signal destroy;
struct wl_signal ping_timeout;
+ struct wl_signal new_popup;
struct wl_signal request_move;
struct wl_signal request_resize;