Re: Window gravity bug?



On Tue, Aug 19, 2003 at 03:16:43PM +0100, Gustavo J A M Carneiro wrote:
> 	In the attached example, I try to set the gravity of a window to
> south-east.  Then I change the position of the window.
> 	According to [1], the reference point with the new gravity should be
> the bottom-right corner of the window, instead of the usual top-left, so
> the window should appear at the top-left corner of the screen.
> 	It doesn't, so I assume there is a bug somewhere.  Either in GTK+ or
> Metacity (or the documentation), I don't know.  I'm running a gnome
> 2.3/2.4 cvs build.
> 

It's possible the gravity only works with managed windows (not
GTK_WINDOW_POPUP). To fix that GTK would have to do the gravity 
work the window manager normally does.

(I didn't check the source code, just speculating.)

Havoc





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