X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.cc;h=1e3897defe671b61c4ff25c7dc287bccc43c4161;hb=781495e2eafd9dfe5592a2f5cefb905743208175;hp=8c915f4e538e2eac30b4f1d0bc7575015182aeee;hpb=e429ce39deaf4a8d5975e871af0530634ea2a63e;p=chaz%2Fopenbox 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();