RE: Add _NET_WM_STATE_FOCUSED to _NET_WM_STATE

Giles Atkinson <[email protected]> Thu, 27 Oct 2011 11:32:07 +0100
Newsgroups gmane.comp.gnome.wm-spec
Message-ID <F992DC73CB61244FA00BF67DD648CAF0B1E178B464@LONPMAILBOX01.citrite.net>
Rui,

Please give a more detailed explanation of the reason for this.  I do not see anything significant in the picture [1].  And why would you ever want windows to appear to have focus unless they really do?

Thanks,

Giles

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Rui Tiago Cação Matos
Sent: 27 October 2011 00:02
To: [email protected]
Subject: Add _NET_WM_STATE_FOCUSED to _NET_WM_STATE

Hi,

I'm proposing that we add a new _NET_WM_STATE_FOCUSED hint to
_NET_WM_STATE. The goal is to be able to do something like [1].

We decided not to use the existing _NET_ACTIVE_WINDOW property since
it would mean that all clients would have to listen for changes on the
root window properties and also because _NET_ACTIVE_WINDOW allows for
at most one window while _NET_WM_STATE_FOCUSED can be set for any
number windows.

I'm attaching a patch against the 1.4.draft-2 xml file that I got from [2].

Comments are very welcome.

Rui

[1] http://gitorious.org/gnome-design/gnome-design/blobs/master/mockups/theming/unfocused-window.png
[2] http://www.freedesktop.org/wiki/Specifications/wm-spec
_______________________________________________
wm-spec-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/wm-spec-list