summaryrefslogtreecommitdiffstats
path: root/ksmserver
Commit message (Collapse)AuthorAgeFilesLines
* ksmserver: Fix FTBFS when building without tdehw library.Slávek Banko2024-10-121-0/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2b6ca044662284548f3e870ecec450311e1f5aee)
* KSMServer: reload power-managerrc settings every time before they are neededMavridis Philippe2024-08-012-0/+4
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 88a090066be5f7c0d9611b88eb8f27902e1409ed)
* KSMServer: improve suspend codeMavridis Philippe2024-08-016-55/+129
| | | | | | | | | | 1. Some code deduplication. Suspending is now handled via the public method `suspend(int)` which is DCOP-accessible and maps SuspendType values to corresponding TDEHWLib TDESystemPowerState values, and the internal method `suspendInternal(int)` which performs the chosen suspend and optionally locks the screen beforehand. 2. Options are now read from power-managerrc on startup and stored in memory to avoid reading the configuration file every time a suspend is requested. 3. SuspendType is now a member of KSMServer class (instead of KSMShutdownDlg) 4. A new DCOP-accessible method `suspendOptions()` returns a TQStringList of all available suspend options. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit d88718ee027e329565d2d97c5cadde4aa1b83166)
* Use tq* headers instead of ntq* onesMichele Calgaro2024-06-301-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9cebcf7b55f872a2f13962d70a16500951ca4d0a)
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-051-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2d7d2122cf33aa713cebef95981305039c798003)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-164-54/+54
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* Replace various '#define' strings - part 6Michele Calgaro2023-12-261-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
* Replaced time related '#define' with actual stringsMichele Calgaro2023-11-231-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 81ad1f9e3c9d494edc38a7aad96fdcab9d44a795)
* Replace Qt with TQtMichele Calgaro2023-11-142-9/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
* Replace TQ_*Focus* and TQ_Scale* definesMichele Calgaro2023-09-041-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
* Drop USE_TQT4 codeMichele Calgaro2023-08-311-4/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 014f6d2586905e03681aa6fb9a85c2c8190e53f4)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-203-10/+10
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84)
* Removed HAL dependant code.Michele Calgaro2022-02-144-147/+6
| | | | 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-184-8/+12
| | | | | | 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>
* Ask pkg-config where libICE is before testing for _IceTransNoListenaneejit12020-07-271-1/+2
| | | | Signed-off-by: aneejit1 <aneejit1@gmail.com>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-301-14/+14
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* ksmserver: Use the IceAuthFileName() functionSlávek Banko2019-11-281-7/+3
| | | | | | | | instead of building the file name. This relates to bug 3027. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add CMakeL10n rules.Slávek Banko2018-12-091-0/+3
| | | | | | Update TIMEZONES list. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Renamed Sleep to Suspend, following discussion on a more consistent naming ↵Michele Calgaro2018-11-041-6/+6
| | | | | | convention for shutdown actions. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Conversion startkde -> starttde, exitkde -> exittde in r14-xdg-upd file and ↵Michele Calgaro2018-11-011-3/+3
| | | | | | related usage in code. This resolves bug 2282 and 2283. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.Michele Calgaro2018-09-252-4/+0
| | | | 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>
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-232-0/+0
|
* Renamed "Suspend to disk" to "Hibernate" and "Suspend to RAM" to "Sleep".Michele Calgaro2016-05-071-26/+49
| | | | | | This refers to bug 2602. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* ksmserver: Added support for hybrid suspend (aka suspend to RAM + suspend to ↵Michele Calgaro2016-04-243-28/+98
| | | | | | | | disk). This relates to bug 2601. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added tooltips to logout dialog for freeze, suspend and hibernate buttons.Michele Calgaro2016-02-071-17/+20
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added DCOP method startupCompleted() to KSMServer: this allows to check ↵Michele Calgaro2015-08-273-1/+10
| | | | | | | | whether the session has been fully created/restored. This relates to bug 1610. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix double free corruption due to duplicated call to IceCloseConnectionTimothy Pearson2015-02-241-1/+1
| | | | This resolves Bug 2167
* Rewrite greyscale OpenGL system to use GLSLTimothy Pearson2014-11-251-8/+12
| | | | | Add ability to blend color and greyscale based on window alpha (actual window alpha currently set at 0.5 when blending is enabled) Reenable greyscale logout effect when compositor is in use
* Make kdesktop_lock and ksmserver ARGB screen blanking more efficient and ↵Timothy Pearson2014-10-251-5/+5
| | | | | | | improve multi-head support in same Fix kdesktop_lock busy cursor appearing over active screen saver after GUI-driven VT switch and delayed return to original VT Repair kdesktop_lock invalid password delay bypass with Cancel button
* Allow contitional build with tdehwlibSlávek Banko2014-10-184-2/+16
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Bring undo, redo, find, and revert icons into XDG complianceTimothy Pearson2014-10-131-1/+1
|
* Bring stop, lock, exit, and run icons into XDG complianceTimothy Pearson2014-10-121-3/+3
|
* Bring previous and next icons into XDG complianceTimothy Pearson2014-10-111-1/+1
|
* If drkonqi launches during logout show it after 30 seconds have elapsedTimothy Pearson2014-10-053-4/+27
|
* Forward port KDE SVN r803253 to fix potential security holeTimothy Pearson2014-05-193-5/+19
|
* Add basic support for a modified compton compositor instead of the old buggy ↵Timothy Pearson2014-03-311-1/+1
| | | | | | kompmgr Update additional Xorg atom names
* Add secondary logout fadeaway controlDarrell Anderson2014-03-191-133/+136
| | | | | This resolves Bug 1999 This relates to Bug 258
* Use the "confirm logout" option in KSMServer::logoutTimedFrancois Andriot2014-03-161-5/+12
|
* Removed unnecessary dependency on dbus-tqt and dbus-1-tqtSlávek Banko2014-02-042-14/+3
|
* Fix screen sometimes not being hidden on power management action or desktop ↵Timothy Pearson2014-01-081-1/+1
| | | | | | switch Handle kdesktop_lock termination in a more sane manner by simply relaunching it if possible
* Fix buttons covered by progress bar in logout status dialogMichele Calgaro2013-12-041-0/+3
| | | | This relates to Bug 1667
* Add end-of-file newlines.Darrell Anderson2013-11-301-1/+1
|
* Add progress bar to logout status dialogMichele Calgaro2013-11-213-5/+32
| | | | This resolves Bug 1667
* Add support for freeze suspend stateSlávek Banko2013-09-223-55/+88
|
* Additional k => tde renaming and fixesSlávek Banko2013-09-031-1/+1
|
* Attempt to fix report of logout status dialog not appearing after client ↵Timothy Pearson2013-08-081-0/+7
| | | | | | interaction This relates to Bug 760
* Update tdehw-based media manager for new mount APITimothy Pearson2013-08-081-8/+10
| | | | | | Allow active VT to be queried from tdm Only display media notification messages on active VT Hide logout action buttons if logout process unstalls