pyewmh icon indicating copy to clipboard operation
pyewmh copied to clipboard

An implementation of EWMH (Extended Window Manager Hints) for python, based on Xlib.

Results 13 pyewmh issues
Sort by recently updated
recently updated
newest added

I have some problems with DesktoGeometry and WorkArea values: I am trying to get the active window and resize it to fill the entire screen but when I use the...

I'm creating a script that would allow me to activate a specific set of windows, however it doesn't seem to cooperate with KDE when using setActiveWindow. I'm currently running Debian...

If I run this: ``` from ewmh import EWMH ewmh = EWMH() windows = ewmh.getClientList() for w in windows: # Window name (Title) print(w.get_wm_name()) print(w.get_wm_class()[1]) ``` I get: ``` Chromium...

I'm making an script that restarts programmes - before I kill them I save the (wm_name, x, y, width, height) using ewmh. Is there a way to set window geometry...

Hi, we're using pyewmh for a long time on our build server to simulate GUI events. But since pyewmh-0.1.5 something significant must have been changed. We're no longer able to...

I would like to rename a window, but I can't. This is an example with getActiveWindow(). ``` python #!/usr/bin/python from ewmh import EWMH ewmh = EWMH() # get the active...

Added type hint comments and `py.typed` marker as per PEP 561 to allow type-checkers to validate usage of EWMH's API. Type comments allow to keep compatibility with python < 3.5....

These bit masks according to https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm45582155073904 should be: x - bit 8 y - bit 9 w - bit 10 h = bit 11

``` File "/home/avasam/.local/lib/python3.9/site-packages/ewmh/ewmh.py", line 257, in getClientListStacking return [self._createWindow(w) TypeError: 'NoneType' object is not iterable ``` It seems `self._getProperty('_NET_CLIENT_LIST_STACKING')` returns `None` in a WSLg environment.