if (e->type == ButtonPress || e->type == ButtonRelease ||
e->type == MotionNotify) {
- if (!keyboard_interactively_grabbed())
- mouse_event(client, e);
+ mouse_event(client, e);
} else if (e->type == KeyPress) {
keyboard_event((focus_cycle_target ? focus_cycle_target :
(focus_hilite ? focus_hilite : client)),
static gboolean focus_delay_cmp(gconstpointer d1, gconstpointer d2)
{
- const ObFocusDelayData *f1 = d1, *f2 = d2;
- return f1->client == f2->client;
+ const ObFocusDelayData *f1 = d1;
+ return f1->client == d2;
}
static gboolean focus_delay_func(gpointer data)