mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwm: implement _NET_CLIENT_LIST_STACKING
This property is present on all modern X11 instances. The nonpresence of it requires applications to fall back to XQueryTree-based logic to determine stacking logic (e.g., to determine what surface should get Xdnd events). These code paths are effectively untested nowadays, so this makes it more likely for wlroots to "break" applications. For instance, the XQueryTree fallback path has been broken in Chromium for the last 10 years. It's easy enough to maintain this property, so let's just do it. Fixes #2889.
This commit is contained in:
parent
699d724000
commit
ae2f3ecb68
3 changed files with 76 additions and 28 deletions
|
|
@ -121,7 +121,7 @@ struct wlr_xwayland_surface_size_hints {
|
|||
|
||||
/**
|
||||
* This represents the input focus described as follows:
|
||||
*
|
||||
*
|
||||
* https://www.x.org/releases/X11R7.6/doc/xorg-docs/specs/ICCCM/icccm.html#input_focus
|
||||
*/
|
||||
enum wlr_xwayland_icccm_input_model {
|
||||
|
|
@ -146,6 +146,7 @@ struct wlr_xwayland_surface {
|
|||
uint32_t surface_id;
|
||||
|
||||
struct wl_list link;
|
||||
struct wl_list stack_link;
|
||||
struct wl_list unpaired_link;
|
||||
|
||||
struct wlr_surface *surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue