summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock
Commit message (Collapse)AuthorAgeFilesLines
* kdesktop: simplify lock process code. This ensure correct cleanup in case of ↵Michele Calgaro2025-09-042-61/+30
| | | | | | 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-042-41/+82
| | | | | | | | | | | | | | | | | | | | 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>
* Use TDESimpleConfigMichele Calgaro2025-07-122-6/+6
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kdesktop: fix deadlock condition between kdesktop and kdesktop lock.Michele Calgaro2025-06-301-3/+0
| | | | | | | | | | | The logic to handle communication with kdesktop_lock is now running completely in a separate thread and event loop, meaning the main GUI thread remains responsive all the time and can handle interaction with X11, DCOP and DBUS calls. This resolves issue #589. The commit also solves the first problem reported in issue #640 and loosely related to PR #526. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace TRUE/FALSE with boolean values true/falseMichele Calgaro2025-05-272-61/+61
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdestandarddirs.hMichele Calgaro2025-02-257-7/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdeAppMichele Calgaro2025-02-032-13/+13
| | | | 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>
* Replace pthread and dl linking with cmake-based variablesMichele Calgaro2024-12-271-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use tdeprocess.hMichele Calgaro2024-12-021-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-166-64/+64
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-262-3/+3
| | | | 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-137-21/+21
| | | | 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>
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-208-9/+9
| | | | 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-183-14/+14
| | | | | | special cases. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update CMake rules to change tdehw library to standalone.Slávek Banko2021-05-071-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed FTBFS when building tdelibs/tdebase without tdehw.Michele Calgaro2021-05-023-17/+55
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Avoid direct usage of tdeldap library. This allows to remove hard dependency ↵Michele Calgaro2021-04-222-5/+8
| | | | | | between packages. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Renaming of files in preparation for code style tools.Michele Calgaro2020-12-0710-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add FreeBSD / DragonFly specific /proc path for an executable file.Slávek Banko2020-05-261-2/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* DilOS: use illumos specific /proc path for an executable fileDenis Kozadaev2020-05-261-0/+4
| | | | Signed-off-by: Denis Kozadaev <denis@dilos.org>
* kdesktop: Add missing initialization of sigset_t in kdesktop_lock. This ↵Slávek Banko2019-07-191-0/+1
| | | | | | | resolves bug 3025. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed use of SAK in lock process when autologin is used in TDM.Michele Calgaro2019-03-101-9/+7
| | | | | | This resolves bug 2945. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add $DISPLAY to kdesktop_lock_lockfile file name.Slávek Banko2019-02-111-1/+1
| | | | | | | | This resolves bug 2998. Thanks to Russell Brown for analyzing the problem and propose a solution. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Prevent hard-coded "tde/" in #include ...Slávek Banko2019-01-302-1/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improved previous commit using local8Bit() in place of utf8() when aMichele Calgaro2018-11-281-2/+2
| | | | | | | password is transmitted over pipes to other processes. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.Michele Calgaro2018-11-283-5/+6
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-171-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kdesktop lockprocess: Removed unnecessary include linux/stat.hSlávek Banko2018-09-051-3/+0
| | | | | | This resolves FTBFS with glibc 2.28 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix kdesktop_lock screensaver stuttering on modern GPUsTimothy Pearson2018-06-241-1/+5
|
* Reset states in kdesktop-lock if startSaver failsSlávek Banko2018-05-261-0/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Write more details when kdesktop lock fails to grab input devicesSlávek Banko2016-09-111-0/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Disable card-based login if Kerberos support was disabled at compile timeTimothy Pearson2016-09-061-1/+4
|
* Do not start card authentication unless PKCS logins were enabledTimothy Pearson2016-09-062-1/+15
| | | | Rename UserList class in kgreeter.cpp to avoid conflict with TDE LDAP library class name
* Fix cryptographic card login processTimothy Pearson2015-10-021-10/+21
|
* Move VT switch on card insertion to cryptocardwatcher processTimothy Pearson2015-10-011-15/+0
|
* Use DM library in tdmtsak instead of making command line callsTimothy Pearson2015-09-291-1/+1
|
* Add new hardware device tray applicationTimothy Pearson2015-09-211-6/+6
| | | | Allow removable media action request popups to be suppressed
* Fix card unlockTimothy Pearson2015-09-192-4/+15
|
* Streamline cryptographic card logon processTimothy Pearson2015-09-183-7/+39
|
* Stabilize cryptographic card loginTimothy Pearson2015-09-182-5/+39
| | | | Fix some coding style issues
* Add initial cryptographic card login supportTimothy Pearson2015-09-175-20/+181
| | | | Tested with themed greeter and SAK disabled
* Fix the most egregious style guide violations in the remaining kdesktop_lock ↵Timothy Pearson2015-09-045-608/+612
| | | | | | source files No functional changes were made to the source
* Fix the most egregious style guide violations in the main kdesktop_lock ↵Timothy Pearson2015-09-042-1734/+1725
| | | | | | source files No functional changes were made to the source
* Fix the most egregious style guide violations in the kdesktoplock plugin sourcesTimothy Pearson2015-09-0410-1105/+1134
| | | | No functional changes were made to the source