diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/server.h | 2 | ||||
-rw-r--r-- | include/sway/tree/view.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index adb62cda..7dbce0b7 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <wlr/render/wlr_renderer.h> | 7 | #include <wlr/render/wlr_renderer.h> |
8 | #include <wlr/types/wlr_compositor.h> | 8 | #include <wlr/types/wlr_compositor.h> |
9 | #include <wlr/types/wlr_data_device.h> | 9 | #include <wlr/types/wlr_data_device.h> |
10 | #include <wlr/types/wlr_ext_foreign_toplevel_list_v1.h> | ||
10 | #include <wlr/types/wlr_input_method_v2.h> | 11 | #include <wlr/types/wlr_input_method_v2.h> |
11 | #include <wlr/types/wlr_foreign_toplevel_management_v1.h> | 12 | #include <wlr/types/wlr_foreign_toplevel_management_v1.h> |
12 | #include <wlr/types/wlr_drm_lease_v1.h> | 13 | #include <wlr/types/wlr_drm_lease_v1.h> |
@@ -116,6 +117,7 @@ struct sway_server { | |||
116 | struct wl_listener output_power_manager_set_mode; | 117 | struct wl_listener output_power_manager_set_mode; |
117 | struct wlr_input_method_manager_v2 *input_method; | 118 | struct wlr_input_method_manager_v2 *input_method; |
118 | struct wlr_text_input_manager_v3 *text_input; | 119 | struct wlr_text_input_manager_v3 *text_input; |
120 | struct wlr_ext_foreign_toplevel_list_v1 *foreign_toplevel_list; | ||
119 | struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager; | 121 | struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager; |
120 | struct wlr_content_type_manager_v1 *content_type_manager_v1; | 122 | struct wlr_content_type_manager_v1 *content_type_manager_v1; |
121 | struct wlr_data_control_manager_v1 *data_control_manager_v1; | 123 | struct wlr_data_control_manager_v1 *data_control_manager_v1; |
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 |
285 | struct sway_view *view_from_wlr_surface(struct wlr_surface *surface); | 288 | struct sway_view *view_from_wlr_surface(struct wlr_surface *surface); |
286 | 289 | ||
290 | void 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 |