wlroots-hyprland/xwayland
Kirill Primak c3c7b1c9d0 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
2023-11-27 13:21:17 +03:00
..
selection treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
meson.build xwayland: enable use of a xserver subproject 2023-05-04 18:02:32 +00:00
server.c xwayland/server: add ready flag 2023-10-10 17:05:04 +02:00
shell.c xwayland: fix double free wlr_xwayland_shell_v1 2023-10-06 10:04:11 +02:00
sockets.c xwayland/sockets: ensure proper permissions 2021-04-16 11:53:05 +02:00
sockets.h Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland.c xwayland: add wlr_xwayland_create_with_server() 2023-10-10 17:05:04 +02:00
xwm.c xwm: don't do anything except mapping on MapRequest 2023-11-27 13:21:17 +03:00