Re: _NET_WM_ALLOWED_ACTIONS
- From: sasha aftercode net
- To: wm-spec-list gnome org
- Subject: Re: _NET_WM_ALLOWED_ACTIONS
- Date: Wed, 17 Oct 2001 16:34:17 -0500
> 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.
It should list actions allowed for this window regardless of its current
state.
> 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?
When window is Maximized - then _NET_WM_STATE will be updated, and
tasklist/pager should use it.
>
> 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?
Exactly.
All the current state related stuff should go into _NET_WM_STATE
and nothing else.
>Havoc
Sasha
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]