Philipp Hörist
bc70b24d80
Fix trailing-comma-tuple pylint errors
2018-10-07 00:46:45 +02:00
Philipp Hörist
ba8d20ab78
Remove verbose logging of idle time
2018-10-07 00:46:35 +02:00
Philipp Hörist
3fbba447db
Windows: Improve locked screen detection
...
UAC prompts count as locked screens, so only trigger extended away
when the screen is more than 10 seconds locked
Fixes #9117
2018-10-07 00:46:35 +02:00
Philipp Hörist
fcda077493
Revert "Windows: Remove locked screen detection"
...
This reverts commit 05307bd609
2018-10-07 00:46:35 +02:00
Philipp Hörist
37420720fe
Windows: Remove locked screen detection
...
This does not reliably tell us when the screen is locked.
For example this triggers when a UAC prompt is active.
From the Windows documentation there is no way to determine
if a workstation is locked
Fixes #9117
2018-10-07 00:46:35 +02:00
Philipp Hörist
ebc0dd4536
Fix license comment format
...
every linter flags this as an error
2018-10-07 00:46:35 +02:00
Philipp Hörist
b749eccf51
Fix idle detection
...
Fixes #9149
2018-05-27 10:51:57 +02:00
Philipp Hörist
7040ea6b2e
Move module calls into init
...
On Linux ctypes has not attr windll, move it into the __init__()
so it does not get evaluatet on module import
2018-05-21 02:39:29 +02:00
Philipp Hörist
c5df74c509
Refactor idle module
...
- Get rid of sleepy.py, handle everything in idle.py
- Introduce one Monitor class that handles everything
2018-05-21 02:32:33 +02:00
Sophie Herold
2e5d966f1d
Support for idle time under GNOME without X11
...
* Removes use of most global variables
* Adds some some logging
* Removes unused close() method for Xss
2018-05-20 20:45:46 +02:00
André Apitzsch
125ce523e4
Rename src directory
2017-07-02 17:25:47 +02:00