summaryrefslogtreecommitdiff
path: root/src/compositor-x11.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-05-07 23:52:07 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-05-07 23:52:07 -0400
commita4036bbd230de4e039395547d35d52a2d721cbc4 (patch)
tree9f3f19c4c42f2e8392f6002af514561e033357c1 /src/compositor-x11.c
parent2bf876282fa640f8f3f33bab2c9fd1df1cafa1c4 (diff)
downloadweston-a4036bbd230de4e039395547d35d52a2d721cbc4.tar.gz
input: Allocate pointer/keyboard/touch structs
Diffstat (limited to 'src/compositor-x11.c')
-rw-r--r--src/compositor-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor-x11.c b/src/compositor-x11.c
index e827cec0..21304a02 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -865,7 +865,7 @@ static void
update_xkb_state_from_core(struct x11_compositor *c, uint16_t x11_mask)
{
uint32_t mask = get_xkb_mod_mask(c, x11_mask);
- struct weston_keyboard *keyboard = &c->core_seat.keyboard_instance;
+ struct weston_keyboard *keyboard = c->core_seat.keyboard;
xkb_state_update_mask(c->core_seat.xkb_state.state,
keyboard->modifiers.mods_depressed & mask,