diff options
author | Tudor Brindus <me@tbrindus.ca> | 2021-05-02 12:50:36 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-31 10:41:29 +0200 |
commit | ae2f3ecb6824e168083580a601af53d6c9544b5d (patch) | |
tree | 53674408ed4a82b66b85e401d82319a3ca4208b8 /include/wlr | |
parent | 699d7240001c4d991a265c23d9c020a36df5f70d (diff) |
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.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/xwayland.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 7dcb3935..6a83e08a 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -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; |