Changeset View
Changeset View
Standalone View
Standalone View
ksmserver/switchuserdialog.cpp
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 148 | { | |||
---|---|---|---|---|---|
161 | m_shellSurface = m_waylandPlasmaShell->createSurface(s, this); | 161 | m_shellSurface = m_waylandPlasmaShell->createSurface(s, this); | ||
162 | // TODO: set a proper window type to indicate to KWin that this is the logout dialog | 162 | // TODO: set a proper window type to indicate to KWin that this is the logout dialog | ||
163 | // maybe we need a dedicated type for it? | 163 | // maybe we need a dedicated type for it? | ||
164 | m_shellSurface->setPosition(geometry().topLeft()); | 164 | m_shellSurface->setPosition(geometry().topLeft()); | ||
165 | } | 165 | } | ||
166 | 166 | | |||
167 | void KSMSwitchUserDialog::ungrab() | 167 | void KSMSwitchUserDialog::ungrab() | ||
168 | { | 168 | { | ||
169 | // Allow the screenlocker to grab them immediately | ||||
169 | setKeyboardGrabEnabled(false); | 170 | setKeyboardGrabEnabled(false); | ||
171 | setMouseGrabEnabled(false); | ||||
170 | } | 172 | } |