On 14-Apr-2002 Alexander Volovics wrote: > Hello, > > Because 'snap to edge' was mentioned and I had never looked into it before > I wanted to see how it worked. > > But _how_ does it work? I have experimented with different values of > 'edgeSnapTreshold' but whatever I try don't see any 'snapping' when > moving windows around. > > I am using blackbox-04022002. > > Alexander
Set the number to something like 20, makes it easy to see. No move the window towards a screen edge slowly and watch the move window which tells you the x,y coordinate of the window as it is moved. When you get get within edgeSnapThreshold of the screen edge the window will 'snap' to the screen edge. As an example say your screen is 1024 pixels wide and you are moving a window right. With a threshold of 20 set when you reach 1004 pixels the next pixel you move right will jump the window to 1024. Currently this edge snapping only happens with the toolbar and the screen edges.
