weston/libweston/desktop
Jonas Ådahl 8f4b141299 desktop: Make popup grab follow keyboard focus semantics
A popup grab is specified to have the top most popup surface gain
keyboard focus. This means the keyboard focus should always follow the
most recent xdg_popup.grab() surface. Make sure this happens by keeping
track of the parent surface in the libweston-desktop popup grab,
updating the keyboard focus when surfaces are added and removed from the
popup chain, and restoring the keyboard focus to the toplevel when there
are no popups anymore.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2023-03-30 17:14:29 +00:00
..
client.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
internal.h desktop: Make popup grab follow keyboard focus semantics 2023-03-30 17:14:29 +00:00
libweston-desktop.c libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
meson.build Move libweston-desktop into libweston 2022-06-28 10:35:52 +00:00
seat.c desktop: Make popup grab follow keyboard focus semantics 2023-03-30 17:14:29 +00:00
surface.c desktop: Make popup grab follow keyboard focus semantics 2023-03-30 17:14:29 +00:00
xdg-shell-v6.c desktop: Make popup grab follow keyboard focus semantics 2023-03-30 17:14:29 +00:00
xdg-shell.c desktop: Make popup grab follow keyboard focus semantics 2023-03-30 17:14:29 +00:00
xwayland.c xwayland: Fix delay in displaying pop-up menu 2023-01-28 12:56:23 +00:00