From c9f7957083907b9e4c3fd12e9b6ef44f4812c704 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 19 Feb 2012 02:35:50 -0600 Subject: [PATCH] Show busy cursor when lock dialog is busy instead of hiding cursor (cherry picked from commit 0522d9d3a856c77220e1882e2d294cad6eb59772) --- kdesktop/lock/lockprocess.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index d3087e24d..9f5ca5d52 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -1082,7 +1082,7 @@ bool LockProcess::grabMouse() { int rv = XGrabPointer( qt_xdisplay(), TQApplication::desktop()->winId(), True, GRABEVENTS, GrabModeAsync, GrabModeAsync, None, - TQCursor(tqblankCursor).handle(), CurrentTime ); + TQCursor(tqbusyCursor).handle(), CurrentTime ); return (rv == GrabSuccess); } @@ -1662,7 +1662,7 @@ int LockProcess::execDialog( TQDialog *dlg ) mDialogs.remove( dlg ); if( mDialogs.isEmpty() ) { XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, - TQCursor(tqblankCursor).handle(), CurrentTime); + TQCursor(tqbusyCursor).handle(), CurrentTime); if (trinity_desktop_lock_use_system_modal_dialogs) { // Slight delay before screensaver resume to allow the dialog window to fully disappear if (hackResumeTimer == NULL) {