Skip to content

Commit

Permalink
Separated _xlibcontainer (which replaced pyewmh module) as separate s…
Browse files Browse the repository at this point in the history
…ubmodule
  • Loading branch information
Kalmat committed May 25, 2023
1 parent 85afe21 commit bc2c7b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified dist/PyWinCtl-dev0.1-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
license='BSD 3',
packages=find_packages(where='src'),
package_dir={'': 'src'},
package_data={"pywinctl": ["src/pywinctl/py.typed"]},
package_data={"pywinctl": ["py.typed"], "ewmhlib": ["py.typed"]},
test_suite='tests',
install_requires=[
"pywin32>=302; sys_platform == 'win32'",
Expand Down
4 changes: 2 additions & 2 deletions src/ewmhlib/_ewmhlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@ def setWmNormalHints(self, min_width: int = Props.HintAction.KEEP, min_height: i
:param width_inc: width changes increments (in pixels)
:param height_inc: height changes increments (in pixels)
:param min_aspect: X (numerator), Y (denumerator) ratio for min_aspect
:param max_aspect: X (numerator, Y (denumerator) ratio for max_aspect
:param max_aspect: X (numerator), Y (denumerator) ratio for max_aspect
:param base_width: Preferred width of window
:param base_height: Preferred height of window
:param int win_gravity: window gravity for placing an re-stacking
Expand Down Expand Up @@ -2534,7 +2534,7 @@ def getWmProtocols(self, text: bool = False) -> Union[List[int], List[str]]:
WM_SAVE_YOURSELF Appendix C Save client state request (deprecated)
WM_DELETE_WINDOW 4.2.8.1 Request to delete top-level window
:param text: select whether the procols will be returned as integers or strings
:param text: select whether the protocols will be returned as integers or strings
:return: List of protocols in integer or string format
"""
prots: List[int] = self.xWindow.get_wm_protocols()
Expand Down

0 comments on commit bc2c7b4

Please sign in to comment.