mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 01:43:43 +00:00
![]() xwm would not let X clients change the focus behind the compositor's back, reverting focus where it's supposed to be when this occurs. However, X11 grab also issue focus in events, on which some clients rely and reverting focus in this case braks the client logic (e.g. combobox menu in gtk+ using the X11 backend). Check if the focus event is actually coming from a grab or ungrab and do not revert focus in this case, to avoid breaking clients logic. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Quentin Glidic <sardemff7+git@sardemff7.net> |
||
---|---|---|
.. | ||
dnd.c | ||
hash.c | ||
hash.h | ||
launcher.c | ||
selection.c | ||
window-manager.c | ||
xwayland-api.h | ||
xwayland-internal-interface.h | ||
xwayland.h |