Re: _NET_WM_[GET_|TAKE_|REQUEST_]FOCUS & urgency



On 5/26/05, Billy Biggs <vektor dumbterm net> wrote:

>   With metacity 2.8.8 at least, if you set
> _NET_WM_STATE_DEMANDS_ATTENTION on a window and not by sending the event
> to the root window, it isn't cleared when you activate the window.  Is
> this because of this misunderstanding (should it work to just set it on
> my window rather than send the event)?

>From the spec, under the _NET_WM_STATE section:

"A Client wishing to change the state of a window MUST send a
_NET_WM_STATE client message to the root window" and (after the
individual states are listed) "To change the state of a mapped window,
a Client MUST send a _NET_WM_STATE client message to the root window"

I interpret those sentences in the spec to mean that we should (or at
least can) ignore you setting the state directly on the window.  Did I
understand that right?

Cheers,
Elijah



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]