From 936f951ead45e8ccbcbad54b1a923c23387a1ea5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 4 Jun 2013 16:25:58 -0500 Subject: Fix cursor disappearing in lock process after a certain time --- kdesktop/lock/lockprocess.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdesktop') 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; -- cgit v1.2.1