wl_keyboard: Add modifier event
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:47 +0000 (16:31 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 18:01:56 +0000 (14:01 -0400)
commit9a1705c5f5e877d4e68bd0e7eb858f517375ba3f
tree0a6a99e25a0c9aae5731f8a28d9c1470a9398c21
parentf7a39ff69b0b30c95330f6b6647d21707fe38dee
wl_keyboard: Add modifier event

This event sends the current keyboard modifier/group state from the
compositor to the client, allowing all clients to have a consistent view
of the keyboard state (e.g. current layout, Caps Lock, et al).  It
should be sent after a keyboard enter event, and also immediately after
any key event which changes the modifier state.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
protocol/wayland.xml
src/wayland-server.c
src/wayland-server.h