be more careful about ignoring focusin/out event pairs
This commit is contained in:
parent
6c431d3a45
commit
bd6d80f168
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@ static gboolean event_ignore(XEvent *e, Client *client)
|
|||
#endif
|
||||
/* is the focused window getting a FocusOut/In back to
|
||||
itself? */
|
||||
if (fe.xfocus.window == e->xfocus.window) {
|
||||
if (fe.xfocus.window == e->xfocus.window &&
|
||||
!event_ignore(&fe, client)) {
|
||||
#ifdef DEBUG_FOCUS
|
||||
g_message("focused window got an Out/In back to "
|
||||
"itself IGNORED both");
|
||||
|
|
Loading…
Reference in a new issue