Re: resizing with gravity



Carsten Haitzler (The Rasterman) wrote:

> On Tue, 25 Apr 2006 12:17:35 -0500 Sasha Vasko <sasha aftercode net> babbled:
> correct. now the problem. (semantically). xterm asks for 100x25-0-0. gravity is
> SE. it changes font size to a larger font. ok. fair enough. NOW user moves
> xterm to top-left of screen. xterm starts using an even bigger font. what now?
> the gravity is SE even though technically that was only a useful gravity at map
> time. one the window moved from the SE corner... it wasn't such a hot idea
> anymore to now make the window resize up and to the left. it's highly
> problematic even for the wm if it wishes to obey the gravity hints and even
> calculate its own new x & y - does it obey the window gravity hints, or does it
> go "well - they don't apply anymore" - and what can clients expect such
> behavior to be... ?
> 

It was user who explicitely requested SE gravity. So if user moves
window into different corner he/she still expects window to follow it.
If it goes off screen after resize - that's what user requested. If you
want to empower user - add functionality to window manager to allow
changing gravity for any open window.



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