summaryrefslogtreecommitdiffstats
path: root/kdm/backend/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/backend/session.c')
-rw-r--r--kdm/backend/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdm/backend/session.c b/kdm/backend/session.c
index d603c6b44..9a12ce312 100644
--- a/kdm/backend/session.c
+++ b/kdm/backend/session.c
@@ -154,13 +154,13 @@ AutoLogon( Time_t tdiff )
!td->hstent->lastExit)) ||
td->autoAgain))
{
- unsigned int ltqmask;
+ unsigned int lmask;
Window dummy1, dummy2;
int dummy3, dummy4, dummy5, dummy6;
XQueryPointer( dpy, DefaultRootWindow( dpy ),
&dummy1, &dummy2, &dummy3, &dummy4, &dummy5, &dummy6,
- &ltqmask );
- if (ltqmask & ShiftMask)
+ &lmask );
+ if (lmask & ShiftMask)
return 0;
DoAutoLogon();
return 1;