From 2901a0eea42c09086dab31e6b5245f4e93be2514 Mon Sep 17 00:00:00 2001 From: Philip Falkner Date: Wed, 25 Jul 2007 03:06:24 +0000 Subject: [PATCH] Make the tabbox work with the new KDED global shortcuts server. svn path=/trunk/KDE/kdebase/workspace/; revision=692105 --- tabbox.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tabbox.cpp b/tabbox.cpp index 93a5258197..22a79e9213 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -1360,6 +1360,11 @@ void Workspace::setTabBoxDesktop( int iDesktop ) bool Workspace::establishTabBoxGrab() { + // The KDED Global Shortcuts Server will have used XGrabKey and + // XUngrabKeyboard as part of handling the shortcut for activating the + // tabbox. Make sure to update our current X time, or else it will be + // older than the Server's grab/ungrab. + updateXTime(); if( !grabXKeyboard()) return false; // Don't try to establish a global mouse grab using XGrabPointer, as that would prevent