Re: Still need a hint for undecorated windows



On 2005-08-08, Lubos Lunak <l lunak suse cz> wrote:
>> Hints for reposition snapping and grouping would definitely be a good idea.
>> XMMS currently does really stupid things when both it and the WM attempt to
>> snap position on move.  For snap, I'm thinking something like a protocol
>> advertisement and distance hints on the root window, and then a per-window
>> hint for SELF_SNAPPED; either that or if there were a WM_WILL_SNAP property
>> on the root window XMMS would disable snapping itself.
>
>  How about not complicating this and simply using _NET_WM_MOVERESIZE from the 
> app and letting the WM take care of this? And this WM_WILL_SNAP if feel 
> bothered enough to handle it for WMs that can't.

Apps shouldn't be bothered with resizing and moving at all, but
_NET_WM_MOVERESIZE is better then actually doing it themselves. Also note
that some WMs don't snap, but have edge resistance (i.e. one-sided snap so
that the window can't be pushed outside the screen area easily, but can be
freely moved inside it), and apps doing snapping themselves again ruin 
interface consistency.

-- 
Tuomo




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