]> git.mdlowis.com Git - proto/labwc.git/commit
seat: ignore focus change to unmanaged surface belonging to same PID
authorJohn Lindgren <john@jlindgren.net>
Sat, 14 Oct 2023 16:41:31 +0000 (12:41 -0400)
committerJohn Lindgren <john@jlindgren.net>
Sat, 14 Oct 2023 17:38:19 +0000 (13:38 -0400)
commit259d6d0c71cc7e198ede31c3bc22f1675ab14c83
treea77599e3ec5a70c2ce77219d36f322a8033b7c47
parent125bab47961bd7c8a25667ce9a0abec7f6cf03ba
seat: ignore focus change to unmanaged surface belonging to same PID

If an xwayland-unmanaged surface was focused belonging to the same
application as the focused view, allow the view to remain active. This
fixes an issue with menus immediately closing in some X11 apps (try
LibreOffice with SAL_USE_VCLPLUGIN=gen).

Fixes: 4028a9482f9399e3c3587f5c6eca6c0b128c9afc
("seat: use focus_change event to update focused/active view")
src/seat.c