summaryrefslogtreecommitdiff
path: root/src/compositor-x11.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-02-18 15:04:07 -0500
committerKristian Høgsberg <krh@bitplanet.net>2013-02-18 15:29:35 -0500
commit4fd273f400e434ac16c12fc377e3ea3042e04083 (patch)
treebcd43fc6145d5d294af23fb754d1f3dee65d4642 /src/compositor-x11.c
parent506238454b6a8c06f4a76141d9672a4c84d66958 (diff)
downloadweston-4fd273f400e434ac16c12fc377e3ea3042e04083.tar.gz
compositor-x11: Fix pointer type warning
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 6f469e69..e39c4820 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -855,7 +855,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 wl_keyboard *keyboard = &c->core_seat.keyboard;
+ struct wl_keyboard *keyboard = &c->core_seat.keyboard.keyboard;
xkb_state_update_mask(c->core_seat.xkb_state.state,
keyboard->modifiers.mods_depressed & mask,