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

Michael Levin risujin at risujin.org
Mon Oct 29 05:25:43 UTC 2007

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

>From the specification
> 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.

Michael Levin <risujin at risujin.org>

More information about the Pkg-xfce-devel mailing list