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

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


On Fri, 7 Mar 2003 16:24:20 +0100
Jasper Huijsmans <jasper at moongroup.com> 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.

	Jasper



More information about the Xfce4-dev mailing list