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:
0064695
)
dont ungrab/regrab when the position in the chain didnt move
author
Dana Jansens
<danakj@orodu.net>
Tue, 8 May 2007 23:42:20 +0000
(23:42 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 8 May 2007 23:42:20 +0000
(23:42 +0000)
openbox/keyboard.c
patch
|
blob
|
history
diff --git
a/openbox/keyboard.c
b/openbox/keyboard.c
index cf56ad8f3b99c60640e273e4b0de9d13fc6d6ede..f3400fca80b503b9b22a6406caa1d9eaa855dd8f 100644
(file)
--- a/
openbox/keyboard.c
+++ b/
openbox/keyboard.c
@@
-78,9
+78,11
@@
static gboolean chain_timeout(gpointer data)
static void set_curpos(KeyBindingTree *newpos)
{
- grab_keys(FALSE);
- curpos = newpos;
- grab_keys(TRUE);
+ if (curpose != newpos) {
+ grab_keys(FALSE);
+ curpos = newpos;
+ grab_keys(TRUE);
+ }
if (curpos != NULL) {
gchar *text = NULL;