From 154524b34a86ce5a966453255390b1538871895e Mon Sep 17 00:00:00 2001 From: Kalmat Date: Wed, 13 Sep 2023 19:21:07 +0200 Subject: [PATCH] Added WM_NAME as _NET_WM_NAME fallback (older apps) Separated Props and Structs as submodules --- dist/EWMHlib-0.0.1-py3-none-any.whl | Bin 52183 -> 52186 bytes src/ewmhlib/_ewmhlib.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/EWMHlib-0.0.1-py3-none-any.whl b/dist/EWMHlib-0.0.1-py3-none-any.whl index c1fc5428d523a8fd7b1d16f743d9e86151dccdce..4ec401ac1e0633e7244a06e4fe89f2590f528e24 100644 GIT binary patch delta 9711 zcmZX4Wl$YZv*hIh!QI{6HMqOG27(25_lvt<+&#EUaDsbqcL?t8Y~Hu^YTv6p=gdsi zbl03;J->P>4RSRNvaS&UDJ_agyUC%9qbwQ#C~WLSpoax5&`)v4DgLoGcrCMsww7+> znW```#814)A*`P5doGFr#@wxWTrTcz7wCRi{W=%uvr7w%a;7WN3ko{a;sIFiQv5RU zBq|X&E0Y(vULi`rLR?s5>&yn_Bf_RLFti>KSR*5>nYTdFDxt%YTY~)`8s+ zDB4s!64V2UIw(f}j<;lPA08cA*piZ?@yccnqbD;(kUv>jo^UJX(vaucR%!_MnYES8 zu+Tnu&r^Oy`ouRBke|d-ems#d$X4EkBL3O;_)~HlyTt1j-9|h6w1ugxNQL)E?>qcc zV>=QM8Lo9F@>7P6ZS`mO$wtRPSM=@m4>zW&qaqtnoZa}@LVFj6R8KQWb=k>+lNk2S z=Wo>4Ns4Z;=L^%(sE9#aT2nh<03V||YDLT-BoA5iIOLfoBrdC!^a zhwRZt@Z4Fex*Isv9J6SNPBFH9P7myDI%ZS!^n~R^^8>mWdyEM? z*C}{xho$wt)%YBsyG*G+tw$DHHK*Q{*Rp} zss|dZhfp-OHeC8Cp_Kogy>ucs#0N`I*EwJ4YraI0lhwH!Cl z$3bw?p5dG=YkMiDsHiJV`DQZktL4x&Z8O!R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E^>SEqBeuO_fw*9{HsR6hJ6{LFnb9EoK@Vr-79Ga_+x_BNXZThJ?8&l;ko=>5si zb6mEiQ4BdG6sk(~H@)R{Hj%3CJxOjR%}bTN*SmTkMsBZiIN3a(w^^;!?2;kLiHOaj z^}(?Bq_3T~`!_vw-VPQ?>nI~m z!hMzOMr|q(!DMdH`05uH(uWoCjbUPF*A?3LX8JY6{h{X|Ed|IN9k<^D`+=h*i~YM~ z*FW2@`_k}9Q80ug-sxY7b(Xi*UOX<8`gYr!Fi7Mc8ipu_#BF`Y;lg71sjt2{?#NCy z!Z;Cpx?&kYNM(Zi lzs!HT02%_q4;BJ~?EeD)yea7WzYH;`djbz`YWRN_{|{n3NL>H` diff --git a/src/ewmhlib/_ewmhlib.py b/src/ewmhlib/_ewmhlib.py index 3335704..3987bb5 100644 --- a/src/ewmhlib/_ewmhlib.py +++ b/src/ewmhlib/_ewmhlib.py @@ -149,8 +149,8 @@ def getDisplayFromRoot(rootId: Optional[int]) -> Tuple[Xlib.display.Display, Str getScreenFromRoot = getDisplayFromRoot -def _getAllRootsInfo() -> List[List[Union[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]]]: - rootsInfo: List[List[Union[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]]] = [] +def _getAllRootsInfo() -> List[List[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]]: + rootsInfo: List[List[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]] = [[]] for display in getDisplays(): for i in range(display.screen_count()): try: @@ -164,7 +164,7 @@ def _getAllRootsInfo() -> List[List[Union[Xlib.display.Display, Struct, XWindow, res: Xlib.ext.randr.GetScreenResources = randr.get_screen_resources(defaultRoot) rootsInfo.append([defaultDisplay, defaultScreen, defaultRoot, res]) return rootsInfo -_allRootsInfo: List[List[Union[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]]] = _getAllRootsInfo() +_allRootsInfo: List[List[Xlib.display.Display, Struct, XWindow, Xlib.ext.randr.GetScreenResources]] = _getAllRootsInfo() def getAllRootsInfo(forceUpdate: bool = False) -> List[