use focus_hilite to pick which window gets keyboard events
This commit is contained in:
parent
04ab35aa14
commit
0ba8c17565
1 changed files with 2 additions and 5 deletions
|
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue