Skip to content

Commit

Permalink
ALL: Added saveSetup() and restoreSetup(). Fixed / Improved watchdog …
Browse files Browse the repository at this point in the history
…(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
  • Loading branch information
Kalmat committed Apr 18, 2024
1 parent c1491a1 commit 0119f70
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion typings/objc.pyi
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
from typing import Any
from collections.abc import Buffer
from typing import Any, overload


class loadBundleFunctions(str):
def __getattr__(self, name: str) -> Any: ...

@overload
def __new__(cls, object: object = ...) -> loadBundleFunctions: ...
def __new__(cls, object: Buffer, encoding: str = ..., errors: str = ...) -> loadBundleFunctions: ...

class loadBundleVariables(str):
def __getattr__(self, name: str) -> Any: ...

@overload
def __new__(cls, object: object = ...) -> loadBundleVariables: ...
def __new__(cls, object: Buffer, encoding: str = ..., errors: str = ...) -> loadBundleVariables: ...

0 comments on commit 0119f70

Please sign in to comment.