aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authorGenki Sky <sky@genki.is>2018-06-10 21:46:47 -0400
committerDrew DeVault <sir@cmpwn.com>2018-06-10 21:47:49 -0400
commit28d718c0ddd8f2ba083be374f3d97e4836f615d9 (patch)
tree54503af7961b1bde33408eb49fd54e8f89d0d303 /include/backend/drm/drm.h
parent9a1f0e2d5fe56870f3bd7d12113742766e89f4e6 (diff)
rootston: Cancel existing keyboard grab when changing focus
It's possible that a non-default keyboard grab exists when we are trying to change focus. For example, say there is an XDG popup when we click on a different window. This popup's keyboard grab will swallow any keyboard_notify_enter(), meaning the newly-clicked window won't receive keyboard input. So, we cancel any existing grabs in roots_seat_set_focus(). Before this fix, a window would have been set as active but not receive keyboard entry. Fixes #233. Signed-off-by: Genki Sky <sky@genki.is>
Diffstat (limited to 'include/backend/drm/drm.h')
0 files changed, 0 insertions, 0 deletions