summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Foreman <manmower@gmail.com>2003-02-16 06:55:11 +0000
committerDerek Foreman <manmower@gmail.com>2003-02-16 06:55:11 +0000
commit73a584981e853f03cbd01930d27d138c6b95707b (patch)
tree42b04a6a6f60da478e0c4d2a7804c8e91b552f30 /src
parentfd7668947091b11c9d9d5775edf5f414e4be6173 (diff)
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
Diffstat (limited to 'src')
-rw-r--r--src/bindings.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings.cc b/src/bindings.cc
index 8c915f4e..1e3897de 100644
--- 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();