summaryrefslogtreecommitdiffstats
path: root/nsplugins/plugin_paths.cpp
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-12-14 19:41:29 +0900
commitaf591a2e3ef623de48dc5b49d57eea4e5373e1bf (patch)
treefde9e07c48ec3b658e74b700171ec074d4557fa2 /nsplugins/plugin_paths.cpp
parentc92697cffb975c3232b8f7c8e984f0dd40d81e7a (diff)
downloadtdebase-af591a2e3ef623de48dc5b49d57eea4e5373e1bf.tar.gz
tdebase-af591a2e3ef623de48dc5b49d57eea4e5373e1bf.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> (cherry picked from commit af61964f1a09fe1e91d4bfe824a894024ae89005)
Diffstat (limited to 'nsplugins/plugin_paths.cpp')
0 files changed, 0 insertions, 0 deletions