Show busy cursor when lock dialog is busy instead of hiding cursor

pull/2/head
Timothy Pearson 13 years ago
parent 9b5a657db2
commit 0522d9d3a8

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

Loading…
Cancel
Save