From e75f91845e343c3ea72167d4718cebe4e3e2684d Mon Sep 17 00:00:00 2001 From: Kalmat Date: Mon, 22 Apr 2024 12:04:47 +0200 Subject: [PATCH] ALL: Added saveSetup() and restoreSetup(). Fixed / Improved watchdog (especially in Linux). Fixed / improved setPosition() method LINUX: Added ewmhlib as separate module. Fixed watchdog (freezing randomly invoking screen_resources and get_output_info), fixed workarea crash (some apps/environments do not set it), improved to work almost fine in Manjaro/KDE, avoid crashing in Wayland for "fake" :1 display (though module won't likely work) WIN32: Fixed dev.StateFlags returning weird values for multi-monitor. Fixed GetAwarenessFromDpiAwarenessContext not supported on Windows Server MACOS: Replaced display-manager-lib by other alternatives which seem to work in several macOS versions (brightness only) Added setScale() method (using a workaround). Added wakeup feature to turnOn() method --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 64d0edf..455e286 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ install_requires=[ "pywin32>=302; sys_platform == 'win32'", "python-xlib>=0.21; sys_platform == 'linux'", - "ewmhlib>=0.1; sys_platform == 'linux'", + "ewmhlib>=0.2; sys_platform == 'linux'", "pyobjc>=8.1; sys_platform == 'darwin'", "typing_extensions>=4.4.0" ],