projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ffea1
)
stop delayed focusing when falling back
author
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 03:02:13 +0000
(
03:02
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 03:02:13 +0000
(
03:02
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index 197948e98c286c619a01cbd24036d16d45aac0d3..32a715ef6fbe1090361c3cf283c33bee9ec34d9a 100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-282,6
+282,9
@@
void focus_fallback(gboolean allow_refocus)
*/
focus_set_client(NULL);
+ /* If some delayed focusing is going on, cancel it */
+ event_halt_focus_delay();
+
if ((new = focus_fallback_target(allow_refocus, old)))
client_focus(new);
}