Comments (4)
I assume you are talking about the same fix reported in #7, and looks like there is a fix in #8. @rrthomas, I missed the bug report, sorry for that.
I'll give this a test, and will merge/release as soon as I find the time. Thanks!
from pyewmh.
I thinked it was an other bug, i read wrong.
from pyewmh.
Am 11.05.2016 um 21:06 schrieb Julien Pagès:
I assume you are talking about the same fix reported in #7
#7, and looks like there is
a fix in #8 #8. @rrthomas
https://github.com/rrthomas, I missed the bug report, sorry for that.I'll give this a test, and will merge/release as soon as I find the
time. Thanks!—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#9 (comment)I have read wrong, i thinked it was an other method. sorry.
But one Question: can u say me how to minimize a Window with emwh?
i tryed this:
[code]
from ewmh import EWMH
EWMH = EWMH()
win = EWMH.getActiveWindow()
EWMH.setWmState(win, 2, '_NET_WM_STATE_HIDDEN')
EWMH.display.flush()
[/code]
i know about a function XIconifyWindow in c and Xlib but i cant have
access to this function via python.
Or is there some other function?
greetings Julian
from pyewmh.
I just merged #8, so the first issue here will be solved soon. I will
make a bugfix release.
For the other point, @cpdef, I believe this is not possible for every
desktop manager unfortunately (see the second paragraph below)
See:
https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
_NET_WM_STATE_HIDDEN should be set by the Window Manager to
indicate that a window would not be visible on the screen if its
desktop/viewport were active and its coordinates were within the
screen bounds. The canonical example is that minimized windows
should be in the _NET_WM_STATE_HIDDEN state. Pagers and similar
applications should use _NET_WM_STATE_HIDDEN instead of WM_STATE
to decide whether to display a window in miniature representations
of the windows on a desktop.
Implementation note: if an Application asks to toggle
_NET_WM_STATE_HIDDEN the Window Manager should probably just
ignore the request, since _NET_WM_STATE_HIDDEN is a function of
some other aspect of the window such as minimization, rather than
an independent state.
Though, possibly for gnome: http://crunchbang.org/forums/viewtopic.php?id=28195
from pyewmh.
Related Issues (14)
- Please deprecate SourceForge project HOT 2
- BadDataError when trying to rename a window HOT 3
- Empty list/None incompatibility HOT 2
- Typo? HOT 1
- Xlib.error.ConnectionClosedError: Display connection closed by server HOT 2
- Can I move + resize a window using this ? HOT 1
- Empty chromium and chrome get_wm_name. HOT 2
- setMoveResizeWindow gravity flags faulty.
- Attempting to activate windows with EWMH().setActiveWindow(window) on KDE Plasma.
- Desktop Geometry/WorkArea Issue
- No support for _NET_DESKTOP_NAMES HOT 1
- [BUG] Missing handling of case where no property is obtained within getWmPid HOT 1
- `getClientListStacking` in WSL2 raises `TypeError: 'NoneType' object is not iterable`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyewmh.