summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2019-01-22 09:50:41 +0100
committerDaniel Stone <daniels@collabora.com>2023-03-30 17:14:29 +0000
commit8f4b141299ec1bd0a36a91e7dbc3d24656e3f5b1 (patch)
treec91079bcc51824654e811eaf73a5947008f0518e /tests
parentcc3d30c28bb645a1a4e48814346e052115a74210 (diff)
downloadweston-8f4b141299ec1bd0a36a91e7dbc3d24656e3f5b1.tar.gz
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions