aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorMerlin Lex <merlin@gandalf.ardholen.net>2024-02-11 12:20:15 +0100
committerSimon Ser <contact@emersion.fr>2024-02-12 15:36:44 +0100
commit1b5515400d0e10c8e1205b88cfc0e46ecb5faa96 (patch)
treeb6ca6c061c6bb273f5d211dea6e86e3384118a13 /include/sway/tree
parent88b2abf5f208422ffc503c2c1d2a0de95d9ec4c5 (diff)
ext-foreign-toplevel-list: Implement protocol
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 3e5a9bfe..5f6c2ead 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -84,6 +84,9 @@ struct sway_view {
// transaction state. Updated on every commit.
struct wlr_box geometry;
+ struct wlr_ext_foreign_toplevel_handle_v1 *ext_foreign_toplevel;
+ struct wl_listener ext_foreign_destroy;
+
struct wlr_foreign_toplevel_handle_v1 *foreign_toplevel;
struct wl_listener foreign_activate_request;
struct wl_listener foreign_fullscreen_request;
@@ -284,6 +287,8 @@ struct sway_view *view_from_wlr_xwayland_surface(
#endif
struct sway_view *view_from_wlr_surface(struct wlr_surface *surface);
+void view_update_app_id(struct sway_view *view);
+
/**
* Re-read the view's title property and update any relevant title bars.
* The force argument makes it recreate the title bars even if the title hasn't