projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c431d3
)
be more careful about ignoring focusin/out event pairs
author
Dana Jansens
<danakj@orodu.net>
Sat, 10 May 2003 15:51:44 +0000
(15:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 10 May 2003 15:51:44 +0000
(15:51 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
c30d52e
..
02ead5b
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-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");