Maintain keyboard modifier state in wayland-server
authorDaniel Stone <daniel@fooishbar.org>
Fri, 22 Jun 2012 12:21:26 +0000 (13:21 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Jun 2012 15:06:44 +0000 (11:06 -0400)
commitbcefacb89d14c5f98c0fe2b12e2baf50e216496e
tree886fad82a800f424c86343ab4326c20a6a68d543
parent226100795309569cc0f101ed6524afc6ac3a9584
Maintain keyboard modifier state in wayland-server

Provide a slot for keyboard modifier state inside wl_keyboard for
implementations to update, and use this to send wl_keyboard:;modifier
events whenever the keyboard or pointer focus changes.

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