Re: Window gravity bug?
- From: Gustavo J A M Carneiro <gjc inescporto pt>
- To: Havoc Pennington <hp redhat com>
- Cc: gnome-devel <gnome-devel-list gnome org>, gtk-devel-list gnome org
- Subject: Re: Window gravity bug?
- Date: Tue, 19 Aug 2003 16:01:41 +0100
A Ter, 2003-08-19 ās 15:21, Havoc Pennington escreveu:
> 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 , 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.
So, just did another test. For GTK_WINDOW_TOPLEVEL +
(fvwm|fvwm2|fvwm95), it works. No other combinations seems to work,
unfortunately. Doesn't work for metacity, twm, mwm, and window maker.
If is unfortunate to have this feature documented in GTK+ but not
In my case, I'm really interested in gravity with popup windows.
Should I attempt to prepare a patch for GTK+ to implement this? This
should be in the GDK layer, right?
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
] [Thread Prev