_NET_WM_STATE

View: New views
5 Messages — Rating Filter:   Alert me  

_NET_WM_STATE

by AMIGrAve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

It seems that at least one atom should be added to the list of _NET_WM_STATE

Namely : _NET_WM_STATE_MINIMIZED

See  https://bugs.launchpad.net/ubuntu/+source/wmctrl/+bug/260875

I guess a _NET_WM_STATE_ICONIFIED would be welcome too.

What do you think ?

--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@...
IM: amigrave@...
_______________________________________________
xdg mailing list
xdg@...
http://lists.freedesktop.org/mailman/listinfo/xdg

Re: _NET_WM_STATE

by Brian J. Tarricone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/28/2009 05:16 AM, Fabien Meghazi wrote:

> Hi all,
>
> It seems that at least one atom should be added to the list of _NET_WM_STATE
>
> Namely : _NET_WM_STATE_MINIMIZED
>
> See  https://bugs.launchpad.net/ubuntu/+source/wmctrl/+bug/260875
>
> I guess a _NET_WM_STATE_ICONIFIED would be welcome too.
>
> What do you think ?

_NET_WM_STATE_HIDDEN serves this purpose.  The bug you reference is
marked invalid and references _HIDDEN.  There is no semantic difference
between hidden, minimized, and iconified.

        -brian
_______________________________________________
xdg mailing list
xdg@...
http://lists.freedesktop.org/mailman/listinfo/xdg

Re: _NET_WM_STATE

by AMIGrAve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> _NET_WM_STATE_HIDDEN serves this purpose.  The bug you reference is
> marked invalid and references _HIDDEN.  There is no semantic difference
> between hidden, minimized, and iconified.

I'm confused here.

If I understand correctly, you say that _NET_WM_STATE_HIDDEN serves
the purpose of minimizing window.

When using this in a terminal window

wmctrl -r :ACTIVE: -b add,hidden

the terminal window should be minimized. But it does not (while wmctrl
does it's job correctly).

So if I understand you correctly, the bug is in metacity ? It does not
minimize windows when receiving _NET_WM_STATE_HIDDEN ??


--
Fabien Meghazi

Website: http://www.amigrave.com
Email: agr@...
IM: amigrave@...
_______________________________________________
xdg mailing list
xdg@...
http://lists.freedesktop.org/mailman/listinfo/xdg

Re: _NET_WM_STATE

by Travis Watkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 9:12 AM, Fabien Meghazi <agr@...> wrote:

>> _NET_WM_STATE_HIDDEN serves this purpose.  The bug you reference is
>> marked invalid and references _HIDDEN.  There is no semantic difference
>> between hidden, minimized, and iconified.
>
> I'm confused here.
>
> If I understand correctly, you say that _NET_WM_STATE_HIDDEN serves
> the purpose of minimizing window.
>
> When using this in a terminal window
>
> wmctrl -r :ACTIVE: -b add,hidden
>
> the terminal window should be minimized. But it does not (while wmctrl
> does it's job correctly).
>
> So if I understand you correctly, the bug is in metacity ? It does not
> minimize windows when receiving _NET_WM_STATE_HIDDEN ??
>
>

I'd say the bug is wmctrl not using XIconifyWindow [1] but perhaps
that is out of scope for what it is trying to do.

[1] http://tronche.com/gui/x/xlib/ICC/client-to-window-manager/XIconifyWindow.html

--
Travis Watkins
http://www.realistanew.com
_______________________________________________
xdg mailing list
xdg@...
http://lists.freedesktop.org/mailman/listinfo/xdg

Re: _NET_WM_STATE

by Lubos Lunak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 28 of October 2009, Brian J. Tarricone wrote:

> On 10/28/2009 05:16 AM, Fabien Meghazi wrote:
> > Hi all,
> >
> > It seems that at least one atom should be added to the list of
> > _NET_WM_STATE
> >
> > Namely : _NET_WM_STATE_MINIMIZED
> >
> > See  https://bugs.launchpad.net/ubuntu/+source/wmctrl/+bug/260875
> >
> > I guess a _NET_WM_STATE_ICONIFIED would be welcome too.
> >
> > What do you think ?

 There is a special list for the EWMH spec,
http://mail.gnome.org/mailman/listinfo/wm-spec-list .

 There have been already several discussions on the list about a special flag
for minimized windows, but never with a conclusion because of disagreements
on exact semantics. You can try your luck and bring it up again. There are
one or two bugreports in KDE bugzilla that would be fixed by introducing such
flag too.

> _NET_WM_STATE_HIDDEN serves this purpose.  The bug you reference is
> marked invalid and references _HIDDEN.  There is no semantic difference
> between hidden, minimized, and iconified.

 Then the bug resolution itself is invalid. The parts from the spec quoted
there themselves claim otherwise.

--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@... , l.lunak@...
Lihovarska 1060/12   tel: +420 284 084 672
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz
_______________________________________________
xdg mailing list
xdg@...
http://lists.freedesktop.org/mailman/listinfo/xdg