Skip to content

Commit

Permalink
LINUX: Improved Wayland support for some apps which (surprisingly) wo…
Browse files Browse the repository at this point in the history
…rk using X11/XOrg.
  • Loading branch information
Kalmat committed Sep 20, 2023
1 parent b16bb9d commit 98cba71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
Binary file modified dist/PyWinCtl-0.3-py3-none-any.whl
Binary file not shown.
20 changes: 4 additions & 16 deletions tests/test_pywinctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,25 +495,13 @@ def basic_macOS(npw: pywinctl.Window):
print()
parent = npw.getParent()
if parent:
parentHandle = 0
parentName = "''"
try:
parentApp, parentName = parent
parentWin = pywinctl.Window(parentApp, parentName)
parentHandle = parentWin.getHandle()
except:
pass
print("WINDOW PARENT:", parentHandle, "/", parentName)
parentApp, parentName = parent
print("WINDOW PARENT:", parentApp, "/", parentName)
print()
children = npw.getChildren()
for child in children:
childName = "''"
try:
childWin = pywinctl.Window(child)
childName = childWin.title
except:
pass
print("WINDOW CHILD:", child, "/", childName)
appName, childName = child
print("WINDOW CHILD:", appName, "/", childName)
print()

# Test maximize/minimize/restore.
Expand Down

0 comments on commit 98cba71

Please sign in to comment.