mirror of
https://github.com/swaywm/sway.git
synced 2026-02-25 01:40:48 -05:00
ext-foreign-toplevel-list: Implement protocol
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4543
This commit is contained in:
parent
88b2abf5f2
commit
1b5515400d
5 changed files with 54 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue