summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();