Re: _NET_WM_ALLOWED_ACTIONS



On 17 Oct 2001, Havoc Pennington wrote:

> 
> Hi,
> 
> One issue here. Are the listed actions those generally allowed for a
> given window in some abstract sense, or those allowed right this
> minute. 
> 
> That is, if a window is currently maximized, is maximization then not
> in _NET_WM_ALLOWED_ACTIONS, since the window is already maximized? Or
> is maximization in there because the window is "maximizable" in
> general, even if it isn't currently?
> 
> This matters since a tasklist/pager needs to know whether to handle 
> the current state by itself.
> 
> I think _NET_WM_ALLOWED_ACTIONS should reflect the current state,
> including all factors; so a maximized window would not allow a
> MAXIMIZE action. Then tasklists can just blindly mirror
> _NET_WM_ALLOWED_ACTIONS.
> 
> However, this introduces the problem: how do you know if a window is
> unmaximizable, when it's maximized? _NET_WM_ACTION_UNMAXIMIZE?

	IMHO the _NET_WM_STATE property gives enough information to let
the pager figure this out by it self. If you want to put pager tasks into
a separate app it's a bad idea still to have pager functions in the window
manager...


Ciao,
Mathias
-- 
WWW:           http://www.informatik.hu-berlin.de/~hasselma/
PGP/GnuPG:     1024-Bit DSA: ID 55E572F3, 1024-Bit RSA: ID EAAF7CF1




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