Re: moving a window to all desktops



On Tuesday 24 of February 2004 16:26, Matthias Clasen wrote:
> > On Tuesday 24 of February 2004 15:54, Matthias Clasen wrote:
> > > Hi all,
> > >
> > > reading of the EWMH again after some time,  I notice that we document
> > > #xFFFFFFFF as special
> > > value of _NET_WM_DESKTOP to indicate "on all desktops", but this value
> >
> > is
> >
> > > not documented as
> > > possible value in the _NET_CURRENT_DESKTOP client message. Should it ?
> >
> >  No, I'm afraid making all desktops current would cause some trouble :).
> >
> >  In case you actually didn't want to say _NET_CURRENT_DESKTOP but
> > _NET_WM_DESKTOP, then it already says that in my reading (but if you
> > really
> > think it needs to be said explicitly, I don't mind).
>
> No, as I said, it is specified for _NET_WM_DESKTOP, which means that it is
> possible to
> map a window and have it appear on all desktops. But it is not possible to
> map it initially
> on desk 1, say, and then make it appear on all desktops (well, you could
> withdraw and
> map again), since _NET_WM_CURRENT_DESKTOP only allows to move to an
> individual desktop,
> not to the special value #FFFFFFFF.
>
> Does this make my question clearer ?

 It was clear to me, despite your mistaking _NET_CURRENT_DESKTOP and 
_NET_WM_DESKTOP once.

> Should there be a way to make a mapped 
> window appear
> on all desktops by sending a client message ?

 As I read the spec, it allows this already (and it works with KDE). It says 
in description of _NET_WM_DESKTOP that 0xFFFFFFFF is a special value, and 
that to change desktop one has to send the message with 'new_desktop'. It 
doesn't explicitly allow or disallow it in the message, but until now I 
wouldn't have expected anybody to wonder about it. If you think it needs to 
be said explicitly, feel free to change it.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l lunak suse cz , l lunak kde org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/



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