rootston: damage tracking for wl_shell

This commit is contained in:
emersion 2018-01-22 16:01:32 +01:00
parent a8cb02f585
commit 3f1c4f5be7
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 83 additions and 2 deletions

View file

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