Skip to content

Commit

Permalink
ALL: Included PyWinBox module which hopefully better handles multi-mo…
Browse files Browse the repository at this point in the history
…nitor setups (macOS tests pending)

LINUX: Fixed getClientFrame() (thanks to roym899), removed ewmh and pynput dependencies
WINDOWS: Fixed getAllWindows() not returning all relevant windows (thanks to Xenolphthalein)
MACOS: Fixed 'missing value' in window titles and app names (thanks to yjmd2222), fixed getClientFrame() to be invoked from non-main threads (thanks to super-iby)
  • Loading branch information
Kalmat committed Aug 23, 2023
1 parent 4121ec7 commit 7e338b3
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 140 deletions.
Binary file modified dist/PyWinCtl-0.0.44-py3-none-any.whl
Binary file not shown.
1 change: 1 addition & 0 deletions src/ewmhlib/Props.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class MoveResize(IntEnum):


class DataFormat(IntEnum):
# I guess 16 is not used in Python (no difference between short and long int)
STR = 8
INT = 32

Expand Down
7 changes: 4 additions & 3 deletions src/ewmhlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@
import sys
assert sys.platform == "linux"

from ._ewmhlib import (getAllDisplaysInfo, getDisplayFromRoot, getDisplayFromWindow,
from ._ewmhlib import (displaysCount, getDisplaysNames, getDisplaysInfo, getDisplayFromRoot, getDisplayFromWindow,
getProperty, getPropertyValue, changeProperty, sendMessage, _xlibGetAllWindows,
defaultDisplay, defaultScreen, defaultRoot, RootWindow, defaultRootWindow, EwmhWindow
)
import ewmhlib.Props as Props
import ewmhlib.Structs as Structs

__all__ = [
"version", "getAllDisplaysInfo", "getDisplayFromRoot", "getDisplayFromWindow",
"version", "displaysCount", "getDisplaysNames", "getDisplaysInfo", "getDisplayFromRoot", "getDisplayFromWindow",
"getProperty", "getPropertyValue", "changeProperty", "sendMessage",
"defaultDisplay", "defaultScreen", "defaultRoot", "defaultRootWindow", "RootWindow", "EwmhWindow"
"defaultDisplay", "defaultScreen", "defaultRoot", "defaultRootWindow", "RootWindow", "EwmhWindow",
"Props", "Structs"
]


Expand Down
Loading

0 comments on commit 7e338b3

Please sign in to comment.