summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-25 22:03:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-09-04 09:20:13 +0900
commit5e6907dc188dd0f3927a47d5844daa632428ad82 (patch)
treebd97745c724c2dea61a2880b67a473a6c8f11811 /tdeioslave
parent3871ad93487d53c553480726869c70ae8a398eb6 (diff)
downloadtdebase-5e6907dc188dd0f3927a47d5844daa632428ad82.tar.gz
tdebase-5e6907dc188dd0f3927a47d5844daa632428ad82.zip
kdesktop: make sure the saver/lock remains responsive even when invokation has failed.
This could happen for example when a popup menu is open and the saver autolock timeout expires. Before this commit, both kdesktop and the X11 server would be in a dirty start and the saver/lock would either not work anymore or not hide the windows on the screen. It was necessary to kill and restart kdesktop to restore proper functionality. Note: the conditional return value of 0 or 12 at main.cpp:554 is a temporary measure to prevent the screen to forcibly lock if the user forgets a popup menu open and the saver timeout expires. Once the issue with input grabbing is solved, we can remove the conditional return value and simply return an error in such condition. Same applies to the variable trinity_desktop_lock_failed_grab, which will no longer be needed in such case.o Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave')
0 files changed, 0 insertions, 0 deletions