Make the tabbox work with the new KDED global shortcuts server.

svn path=/trunk/KDE/kdebase/workspace/; revision=692105
This commit is contained in:
Philip Falkner 2007-07-25 03:06:24 +00:00
parent 4f509f0360
commit 2901a0eea4

View file

@ -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