use focus_hilite to pick which window gets keyboard events

This commit is contained in:
Dana Jansens 2003-10-09 18:54:08 +00:00
parent 04ab35aa14
commit 0ba8c17565

View file

@ -463,11 +463,8 @@ static void event_process(const XEvent *ec, gpointer data)
e->type == MotionNotify) e->type == MotionNotify)
mouse_event(client, e); mouse_event(client, e);
else if (e->type == KeyPress) else if (e->type == KeyPress)
/* when in the middle of a focus cycling action, this keyboard_event((focus_hilite ?
causes the window which appears to be focused to be focus_hilite : client), e);
the one on which the actions will be executed */
keyboard_event((focus_cycle_target ?
focus_cycle_target : client), e);
} }
} }
} }