Skip to content
Commit 8f4b1412 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Daniel Stone
Browse files

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: default avatarJonas Ådahl <jadahl@gmail.com>
parent cc3d30c2
Loading
Loading
Loading
Pipeline #843758 passed with stages
in 1 minute and 29 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment