X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbindings.cc;h=757f66b589d5c96cde988adf5dcc2655a5aadea7;hb=c5b2de2e1ae3e27e38fadf4add790511ec597453;hp=902340384b1f29e9c27f57e3aa7b573d80233a57;hpb=85706d995c84f7ee7fa3453cae081af96f4559ea;p=chaz%2Fopenbox diff --git a/src/bindings.cc b/src/bindings.cc index 90234038..757f66b5 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -386,6 +386,7 @@ bool Bindings::grabKeyboard(int screen, PyObject *callback) if (XGrabKeyboard(**otk::display, root, false, GrabModeAsync, GrabModeAsync, CurrentTime)) return false; + // the pointer grab causes pointer events during the keyboard grab to go away XGrabPointer(**otk::display, root, false, 0, GrabModeAsync, GrabModeAsync, None, None, CurrentTime); _keybgrab_callback = callback;