Re: Proposal to extend Application Window Properties

Andy Lo-A-Foe <andy alsaplayer org> writes: 
> In effect _NET_WM_ACTION_RESIZE is split into 2 components.
> This gives the application developer greater control over the resize
> behaviour of windows.
> Comments?

You misunderstand the purpose of that hint - it's not used by the
application. The app conveys its resizability using the geometry hints
(set max/min size).

the ALLOWED_ACTIONS hint is used by the WM to convey the actions
allowed in a _particular context_ to pager, tasklist, etc.
So for example, if maximized windows can't be resized in a particular
WM (in some they can, others they can't), the WM would use the
ALLOWED_ACTIONS hint to tell the pager/tasklist to make the Resize
menu item insensitive.

There's no point in setting ALLOWED_ACTIONS from your app, any
compliant WM will instantly overwrite whatever you set.

This should be clarified in the spec if it isn't.


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