if (e->type == Event_X_KeyRelease)
return;
+ g_assert(e->type == Event_X_KeyPress);
+
if (e->data.x.e->xkey.keycode == reset_key &&
e->data.x.e->xkey.state == reset_state) {
reset_chains();
if (p->action->func != NULL) {
p->action->data.any.c = focus_client;
- g_assert(!(p->action->func == action_move ||
- p->action->func == action_resize));
-
if (p->action->func == action_cycle_windows) {
p->action->data.cycle.final = FALSE;
p->action->data.cycle.cancel = FALSE;