From cd5f6a81cf96ef63e9d59c7db6826a42372098b8 Mon Sep 17 00:00:00 2001 From: rathnor Date: Wed, 14 Apr 2004 16:38:33 +0000 Subject: revert to sync grab for now --- ChangeLog | 2 ++ src/Window.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22f1ed3..decf22a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.9: *04/04/14: + * Revert to sync. Async stops it from replaying (Simon) + Window.cc * Half revert a bit of the below, since it broke click-to-focus (Simon) -> adds back the grab, but as an async one Window.cc diff --git a/src/Window.cc b/src/Window.cc index acb2565..25e60a3 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.279 2004/04/14 15:40:57 rathnor Exp $ +// $Id: Window.cc,v 1.280 2004/04/14 16:38:33 rathnor Exp $ #include "Window.hh" @@ -977,7 +977,7 @@ void FluxboxWindow::grabButtons() { // needed for click to focus XGrabButton(display, Button1, AnyModifier, frame().window().window(), True, ButtonPressMask, - GrabModeAsync, GrabModeAsync, None, None); + GrabModeSync, GrabModeSync, None, None); XUngrabButton(display, Button1, Mod1Mask|Mod2Mask|Mod3Mask, frame().window().window()); if (Fluxbox::instance()->useMod1()) { -- cgit v0.11.2