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:
fd76689
)
Fixed a bug in grab handling for chains
author
Derek Foreman
<manmower@gmail.com>
Sun, 16 Feb 2003 06:55:11 +0000
(06:55 +0000)
committer
Derek Foreman
<manmower@gmail.com>
Sun, 16 Feb 2003 06:55:11 +0000
(06:55 +0000)
(wasn't updating _grabbed or the current binding tree position in some cases)
src/bindings.cc
patch
|
blob
|
history
diff --git
a/src/bindings.cc
b/src/bindings.cc
index
8c915f4
..
1e3897d
100644
(file)
--- a/
src/bindings.cc
+++ b/
src/bindings.cc
@@
-433,9
+433,9
@@
void Bindings::fireKey(int screen, unsigned int modifiers, unsigned int key,
//this point
XGrabKeyboard(**otk::display, root, 0, GrabModeAsync,
GrabModeSync, CurrentTime);
- _grabbed = true;
- _curpos = p;
}
+ _grabbed = true;
+ _curpos = p;
XAllowEvents(**otk::display, AsyncKeyboard, CurrentTime);
} else {
Client *c = openbox->focusedClient();