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:
c6fe4f8
)
the focus_client = NULL got moved by mistake.
author
Dana Jansens
<danakj@orodu.net>
Tue, 24 Apr 2007 06:41:59 +0000
(06:41 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 24 Apr 2007 06:41:59 +0000
(06:41 +0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
e62b3db
..
4c663c3
100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-273,8
+273,6
@@
void focus_fallback(gboolean allow_refocus)
*/
focus_nothing();
- focus_client = NULL;
-
if ((new = focus_fallback_target(allow_refocus, old)))
client_focus(new);
}
@@
-287,6
+285,8
@@
void focus_nothing()
screen_install_colormap(NULL, TRUE);
}
+ focus_client = NULL;
+
/* when nothing will be focused, send focus to the backup target */
XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
event_curtime);