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:
d1ceea8
)
grab the mouse during focus cycling. this removes the bug of focusing following the...
author
Dana Jansens
<danakj@orodu.net>
Sun, 18 May 2003 03:32:34 +0000
(
03:32
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 18 May 2003 03:32:34 +0000
(
03:32
+0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
08fb09e
..
6f5b04d
100644
(file)
--- a/
openbox/focus.c
+++ b/
openbox/focus.c
@@
-271,6
+271,9
@@
Client *focus_cycle(gboolean forward, gboolean linear, gboolean done,
client_activate(focus_cycle_target);
goto done_cycle;
}
+ if (!first)
+ grab_pointer(TRUE, None);
+
if (!first) first = focus_client;
if (!focus_cycle_target) focus_cycle_target = focus_client;
@@
-312,7
+315,10
@@
done_cycle:
focus_cycle_target = NULL;
g_list_free(order);
order = NULL;
+
popup_cycle(ft, FALSE);
+ grab_pointer(FALSE, None);
+
return NULL;
}