summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-06-04 16:25:58 -0500
committerTimothy Pearson <[email protected]>2013-06-04 16:25:58 -0500
commit936f951ead45e8ccbcbad54b1a923c23387a1ea5 (patch)
tree1bceba91c78fcf88769416d4fca77b4b5a02be5b /kdesktop/lock
parentf29ac1d2849f720868da0eae03981a446c0316a0 (diff)
downloadtdebase-936f951ead45e8ccbcbad54b1a923c23387a1ea5.tar.gz
tdebase-936f951ead45e8ccbcbad54b1a923c23387a1ea5.zip
Fix cursor disappearing in lock process after a certain time
Diffstat (limited to 'kdesktop/lock')
-rw-r--r--kdesktop/lock/lockprocess.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 30c9e4dee..46ec0aec0 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -1539,9 +1539,6 @@ bool LockProcess::startHack()
{
trinity_desktop_hack_active = TRUE;
- setCursor( tqblankCursor );
- XChangeActivePointerGrab( tqt_xdisplay(), GRABEVENTS, TQCursor(tqblankCursor).handle(), CurrentTime);
-
if ((mEnsureVRootWindowSecurityTimer) && (!mEnsureVRootWindowSecurityTimer->isActive())) mEnsureVRootWindowSecurityTimer->start(250, FALSE);
if (currentDialog || (!mDialogs.isEmpty()))
@@ -1563,6 +1560,9 @@ bool LockProcess::startHack()
return false;
}
+ setCursor( tqblankCursor );
+ XChangeActivePointerGrab( tqt_xdisplay(), GRABEVENTS, TQCursor(tqblankCursor).handle(), CurrentTime);
+
if (mSaverExec.isEmpty())
{
return false;