aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Merlin Lex <merlin@gandalf.ardholen.net>2024-02-11 12:20:15 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2024-02-12 15:36:44 +0100
commit1b5515400d0e10c8e1205b88cfc0e46ecb5faa96 (patch)
treeb6ca6c061c6bb273f5d211dea6e86e3384118a13 /include/sway/tree/view.h
parentconfig: use format_str() instead of hand-rolled snprintf() (diff)
downloadsway-1b5515400d0e10c8e1205b88cfc0e46ecb5faa96.tar.gz
sway-1b5515400d0e10c8e1205b88cfc0e46ecb5faa96.tar.zst
sway-1b5515400d0e10c8e1205b88cfc0e46ecb5faa96.zip
ext-foreign-toplevel-list: Implement protocol
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
Diffstat (limited to 'include/sway/tree/view.h')
-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 {
84 // transaction state. Updated on every commit. 84 // transaction state. Updated on every commit.
85 struct wlr_box geometry; 85 struct wlr_box geometry;
86 86
87 struct wlr_ext_foreign_toplevel_handle_v1 *ext_foreign_toplevel;
88 struct wl_listener ext_foreign_destroy;
89
87 struct wlr_foreign_toplevel_handle_v1 *foreign_toplevel; 90 struct wlr_foreign_toplevel_handle_v1 *foreign_toplevel;
88 struct wl_listener foreign_activate_request; 91 struct wl_listener foreign_activate_request;
89 struct wl_listener foreign_fullscreen_request; 92 struct wl_listener foreign_fullscreen_request;
@@ -284,6 +287,8 @@ struct sway_view *view_from_wlr_xwayland_surface(
284#endif 287#endif
285struct sway_view *view_from_wlr_surface(struct wlr_surface *surface); 288struct sway_view *view_from_wlr_surface(struct wlr_surface *surface);
286 289
290void view_update_app_id(struct sway_view *view);
291
287/** 292/**
288 * Re-read the view's title property and update any relevant title bars. 293 * Re-read the view's title property and update any relevant title bars.
289 * The force argument makes it recreate the title bars even if the title hasn't 294 * The force argument makes it recreate the title bars even if the title hasn't