Let wayland-server send modifier events for focus
authorDaniel Stone <daniel@fooishbar.org>
Fri, 22 Jun 2012 12:21:30 +0000 (13:21 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Jun 2012 15:52:05 +0000 (11:52 -0400)
commit71c3877a401bab2e1c19c5d84cb9a8e28ff0895d
tree0460b6b502d1928cf1915446e558cbe4e7c2761a
parentd6da09e9353ca64990daaa70b5226dba730977a0
Let wayland-server send modifier events for focus

When the focus changes, wl_keyboard_set_focus (and, as an added bonus,
wl_pointer_set_focus) will now send wl_keyboard::modifier events for us
if we store the modifier state in the right place, so we don't have to
worry about that anymore.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c
src/compositor.h