mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
xwayland: track visibility of OR children
OR windows with WM_TRANSIENT_FOR have similar semantics to xdg_popup. We can't handle them in the same path because we have to keep in sync with the X stack, and popups are rendered above unmanaged surfaces.
This commit is contained in:
parent
7669241754
commit
5d2888cb67
4 changed files with 31 additions and 3 deletions
|
|
@ -171,6 +171,7 @@ struct sway_xwayland_unmanaged {
|
|||
struct wl_list link;
|
||||
|
||||
int lx, ly;
|
||||
bool visible;
|
||||
|
||||
struct wl_listener request_activate;
|
||||
struct wl_listener request_configure;
|
||||
|
|
@ -181,6 +182,7 @@ struct sway_xwayland_unmanaged {
|
|||
struct wl_listener unmap;
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener override_redirect;
|
||||
struct wl_listener set_parent;
|
||||
};
|
||||
#endif
|
||||
struct sway_view_child;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue