diff options
Diffstat (limited to 'kdm/backend/session.c')
-rw-r--r-- | kdm/backend/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdm/backend/session.c b/kdm/backend/session.c index 9a12ce312..d603c6b44 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 lmask; + unsigned int ltqmask; Window dummy1, dummy2; int dummy3, dummy4, dummy5, dummy6; XQueryPointer( dpy, DefaultRootWindow( dpy ), &dummy1, &dummy2, &dummy3, &dummy4, &dummy5, &dummy6, - &lmask ); - if (lmask & ShiftMask) + <qmask ); + if (ltqmask & ShiftMask) return 0; DoAutoLogon(); return 1; |