Skip to content
Snippets Groups Projects
Commit ebd5fd47 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

input: Cancel pointer grabs when compositor loses kb focus

This makes sure we pop down popups when the X backend loses keyboard
focus or when the kms backend vt-switches away.
parent 3d0fc76d
No related branches found
No related tags found
No related merge requests found
......@@ -1297,6 +1297,8 @@ notify_keyboard_focus_out(struct weston_seat *seat)
weston_keyboard_set_focus(keyboard, NULL);
weston_keyboard_cancel_grab(keyboard);
if (seat->pointer)
weston_pointer_cancel_grab(seat->pointer);
}
WL_EXPORT void
......
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