Git Product home page Git Product logo

Comments (4)

parkouss avatar parkouss commented on July 28, 2024

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.

cpdef avatar cpdef commented on July 28, 2024

I thinked it was an other bug, i read wrong.

from pyewmh.

cpdef avatar cpdef commented on July 28, 2024

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.

parkouss avatar parkouss commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.