https://bugs.kde.org/show_bug.cgi?id=358125

--- Comment #13 from Martin Gräßlin <mgraess...@kde.org> ---
Git commit 1fe565e5dae31e57d81556b07e7459be14c5d834 by Martin Gräßlin.
Committed on 09/02/2016 at 15:39.
Pushed by graesslin into branch 'Plasma/5.1'.

[greeter] Dont quit when last window closes

Qt allows to have no screens. If all XRandR screens are disconnected
there are also no QScreens. This is from an X11 perspective wrong, but
we have to deal with it. No QScreens means that all views are destroyed
and no new ones are created. Thus all windows close and the greeter
exited successfully which in turn unlocked the screen.

This change ensures that the greeter doesn't exit when all windows close.

Funnily this was not a problem with the well known issue of Qt
crashing when all screens are disconnected. The lock screen handles
crashes gracefully and just restarts or more likely Qt also crashes
the application using KSld and thus taking down the complete session.

M  +1    -0    ksmserver/screenlocker/greeter/main.cpp

http://commits.kde.org/plasma-workspace/1fe565e5dae31e57d81556b07e7459be14c5d834

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to