[Pkg-xfce-devel] Bug#448443: Bug#448443: Xfwm4 does not respect win_gravity WM hint

Yves-Alexis Perez corsac at corsac.net
Mon Oct 29 09:09:47 UTC 2007


forwarded #448443 http://bugzilla.xfce.org/show_bug.cgi?id=3634
severity #448443 wishlist
thanks nice bot

On lun, 2007-10-29 at 00:25 -0500, Michael Levin wrote:
> Package: xfwm4
> Version: 4.4.1-3
> 
> I'm developing CellWriter, a handwriting recognition input panel. When
> the main window is resized, I need the frame to resize upwards rather
> than downwards. The FreeDesktop window manager specification allows this
> with the win_gravity hint (which can be set with
> gtk_window_set_geometry_hints).
> 
> >From the specification
> (http://standards.freedesktop.org/wm-spec/1.4/ar01s09.html):
> > If an Application requests just a new size, its reference point does
> > not move. So for example if client window has win_gravity
> > SouthEastGravity and is resized, the bottom right corner of its frame
> > will not move but instead the top left corner will be adjusted by the
> > difference in size.
> 
> XFWM4 does not respect this hint correctly but instead seems to move the
> reference point when it is set. The window is still resized in the
> bottom-right direction. The win_gravity hint has no relation to the
> window gravity set with gtk_window_set_gravity.
> 
> Metacity respects this hint correctly.

As I don't fully interstand everything about WM hints, I've forwarded
the bug upstream. The bug report is available at
http://bugzilla.xfce.org/show_bug.cgi?id=3634 if you want to follow it
and give some more informations.

Regards,
-- 
Yves-Alexis Perez






More information about the Pkg-xfce-devel mailing list