diff options
author | emersion <contact@emersion.fr> | 2018-01-21 21:06:37 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-21 21:06:37 +0100 |
commit | 66ae4071a7985fbc6e5d41f50e34ce4474ab4fe4 (patch) | |
tree | 2562079bd8d4028c0be60f4cea1fc60691db2fa4 /include/rootston | |
parent | d8b36357e4c8d9edef7df4ecb465b7f728795f90 (diff) |
rootston: damage tracking for xdg popups
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/view.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h index d07f9ca2..8cfdf321 100644 --- a/include/rootston/view.h +++ b/include/rootston/view.h @@ -23,13 +23,15 @@ struct roots_wl_shell_surface { struct roots_xdg_surface_v6 { struct roots_view *view; - struct wl_listener commit; struct wl_listener destroy; + struct wl_listener new_popup; struct wl_listener request_move; struct wl_listener request_resize; struct wl_listener request_maximize; struct wl_listener request_fullscreen; + struct wl_listener surface_commit; + uint32_t pending_move_resize_configure_serial; }; @@ -133,6 +135,13 @@ struct roots_subsurface { struct wl_listener destroy; }; +struct roots_xdg_popup_v6 { + struct roots_view_child view_child; + struct wlr_xdg_popup_v6 *wlr_popup; + struct wl_listener destroy; + struct wl_listener new_popup; +}; + void view_get_box(const struct roots_view *view, struct wlr_box *box); void view_activate(struct roots_view *view, bool active); void view_move(struct roots_view *view, double x, double y); |