From 73a584981e853f03cbd01930d27d138c6b95707b Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Sun, 16 Feb 2003 06:55:11 +0000 Subject: [PATCH] Fixed a bug in grab handling for chains (wasn't updating _grabbed or the current binding tree position in some cases) --- src/bindings.cc | 4 ++-- 1 file 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(); -- 2.45.2