compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #25851
[Bug 904806] [NEW] Support _NET_WM_STATE_FOCUSED
Public bug reported:
wm-spec was updated to add a _NET_WM_STATE_FOCUSED [1]
"Patch from Rui Tiago Cação Matos to add a a new _NET_WM_STATE atom that
accurately tracks when the window manager shows the window decorations
as active or inactive. This allows for better handling of cases where
modal dialogs might be shown as a unit with a parent window, or where
grabs cause a disjunction between X input focus and the focus displayed
to the user."
+_NET_WM_STATE_FOCUSED indicates whether the window's decorations are drawn in an
+active state. Clients MUST regard it as a read-only hint. It cannot be set at
+map time or changed via a _NET_WM_STATE client message. The window given by
+_NET_ACTIVE_WINDOW will usually have this hint, but at times other windows may
+as well, if they have a strong association with the active window and will be
+considered as a unit with it by the user. Clients that modify the appearance of
+internal elements when a toplevel has keyboard focus SHOULD check for the
+availability of this state in _NET_SUPPORTED and, if it is available,
+use it in preference to tracking focus via FocusIn events. By doing so they will
+match the window decorations and accurately reflect the intentions of the Window
+Manager.
[1] http://cgit.freedesktop.org/xdg/xdg-
specs/commit/?id=e34d84a17341bb82af38fb84c6c070bb58b6d5b5
Useful for obvious reasons.
** Affects: compiz-core
Importance: Low
Status: New
** Affects: compiz (Ubuntu)
Importance: Undecided
Status: New
** Changed in: compiz-core
Importance: Undecided => Medium
** Changed in: compiz-core
Importance: Medium => Low
** Also affects: compiz (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/904806
Title:
Support _NET_WM_STATE_FOCUSED
To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz-core/+bug/904806/+subscriptions
Follow ups
References