compositor: Don't run keybindings if we have a key grab

dev
Kristian Høgsberg 13 years ago
parent ec286eb8e8
commit afa264c6b6
  1. 4
      src/compositor.c

@ -1444,7 +1444,9 @@ notify_key(struct wl_input_device *device,
weston_compositor_idle_release(compositor);
}
weston_compositor_run_binding(compositor, wd, time, key, 0, state);
if (device->keyboard_grab == &device->default_keyboard_grab)
weston_compositor_run_binding(compositor, wd,
time, key, 0, state);
update_modifier_state(wd, key, state);
end = device->keys.data + device->keys.size;

Loading…
Cancel
Save