compositor-x11: Fix pointer type warning

dev
Kristian Høgsberg 12 years ago
parent 506238454b
commit 4fd273f400
  1. 2
      src/compositor-x11.c

@ -855,7 +855,7 @@ static void
update_xkb_state_from_core(struct x11_compositor *c, uint16_t x11_mask) update_xkb_state_from_core(struct x11_compositor *c, uint16_t x11_mask)
{ {
uint32_t mask = get_xkb_mod_mask(c, 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, xkb_state_update_mask(c->core_seat.xkb_state.state,
keyboard->modifiers.mods_depressed & mask, keyboard->modifiers.mods_depressed & mask,

Loading…
Cancel
Save