diff options
author | emersion <contact@emersion.fr> | 2018-04-05 16:48:11 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-05 16:48:11 -0400 |
commit | f5e5b1819bf88841f6f42fdfe416fa588abbeeb5 (patch) | |
tree | 6b0c006f0d9d59151abc9b4cb20a806273ec6528 /include/sway | |
parent | 45f93e165096ed04c4d1152523502ae5fc760632 (diff) |
Track damage of xdg-shell-v6 popups
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/tree/view.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index f8e41652..2eca7a3e 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -60,6 +60,7 @@ struct sway_xdg_shell_v6_view { struct wl_listener request_move; struct wl_listener request_resize; struct wl_listener request_maximize; + struct wl_listener new_popup; struct wl_listener map; struct wl_listener unmap; struct wl_listener destroy; @@ -122,6 +123,16 @@ struct sway_view_child { struct wl_listener view_unmap; }; +struct sway_xdg_popup_v6 { + struct sway_view_child child; + + struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6; + + struct wl_listener new_popup; + struct wl_listener unmap; + struct wl_listener destroy; +}; + const char *view_get_title(struct sway_view *view); const char *view_get_app_id(struct sway_view *view); |