diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-11-26 02:49:56 +0300 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2023-11-27 13:21:17 +0300 |
commit | c3c7b1c9d01ed876144fdf9210aba8d1ad38b332 (patch) | |
tree | 2074f4b6c06dd1e3e38ae418854748401f461c80 /include | |
parent | 4990ed99ebc8eeb508e0077f620ec2df781fabdb (diff) |
xwm: don't do anything except mapping on MapRequest
Instead, move the wlr_xwayland_surface_set_withdrawn() and
wlr_xwayland_surface_restack() calls to the MapNotify handler with an
override_redirect check, as they are done too early. This mirrors the logic in
the UnmapNotify handler and fixes a bug where wlr_xwayland_surface_restack()
would be called on an o-r window after the following sequence of requests:
- CreateWindow with override_redirect=True
- ChangeWindowAttributes with override_redirect=False
- MapWindow
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3770
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions