Re: _NET_WM_ALLOWED_ACTIONS



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?

Havoc



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