wlroots/xwayland
Sarunas Valaskevicius 108be5ef47 Fix disappearing menus in QT apps
A motivating example of such problem - Zoom's popups that open on button presses.

Before this fix the popup would flicker and immediately disappear - because the PID is not yet
available for the verification (as the surface has not been associated yet), wlroots would refuse to
focus the popup and instead focus the previous window. This leads QT to interpret this as a sign to
close the popup.

This change moves the PID aqcuisition to an earlier phase - just where the window is created.

(cherry picked from commit 7c080c3b60)
2024-01-25 10:40:23 -05: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 Fix disappearing menus in QT apps 2024-01-25 10:40:23 -05:00