Patch to movehandle widget to make window snap to corners and edge centers

Jasper Huijsmans jasper at
Fri Mar 7 16:58:11 CET 2003

On Fri, 7 Mar 2003 16:24:20 +0100
Jasper Huijsmans <jasper at> wrote:

> Hi all,
> I would like to get your opinion on the following patch to
> libxfcegui4. It patches the move handler widget so that the associated
> window will snap to corners and edge centers.
> It is probably not the most efficient way to do this, but it works
> very well for me.

For starters, it's a bit brain-dead to calculate the snap coordinates
all the time, when it's only necessary to do it once on button-press ...
I should probably add the snap coordinates to the widget itself.

The concept remains the same, of course.


More information about the Xfce4-dev mailing list