summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.cpp
Commit message (Collapse)AuthorAgeFilesLines
* kdesktop: simplify lock process code. This ensure correct cleanup in case of ↵Michele Calgaro2025-09-041-31/+22
| | | | | | unexpected termination of the process. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kdesktop: make sure the saver/lock remains responsive even when invokation ↵Michele Calgaro2025-09-041-19/+32
| | | | | | | | | | | | | | | | | | | | 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>
* Use TDEDesktopFileMichele Calgaro2025-07-131-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace TRUE/FALSE with boolean values true/falseMichele Calgaro2025-05-271-32/+32
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdestandarddirs.hMichele Calgaro2025-02-251-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdeAppMichele Calgaro2025-02-031-11/+11
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdecrash.hMichele Calgaro2024-12-281-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-161-39/+39
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-261-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-211-12/+12
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Qt with TQtMichele Calgaro2023-11-131-4/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop TQT_TQ*_OBJECT definesMichele Calgaro2023-08-081-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed HAL dependant code.Michele Calgaro2022-02-141-6/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in ↵Slávek Banko2021-05-181-8/+8
| | | | | | special cases. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed FTBFS when building tdelibs/tdebase without tdehw.Michele Calgaro2021-05-021-5/+32
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Renaming of files in preparation for code style tools.Michele Calgaro2020-12-071-0/+3045
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>