On Wed, 09 Jan 2002 23:38:25 -0800 (PST)
"Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> wrote:
> > One little thingy: Is there really any reason to place windows
> > 'edgeSnapThreshold' pixels from the border in Workspace.cc? I
> > use an edgesnapthreshold of 10 but don't like new windows appear
> > always 10 pixels away from the screen edges. Anyway, it's a very
> > small patch that I always can use myself :)
>
> a feature I never use. No, I do not think it should avoid the screen
> edge as much as it does other windows.
>
> If you have a patch against pre3, forward it on.
Patch attached, diff'ed against pre2, but works on pre3.
You could also just do (only in plain 0.62pre3!):
sed '344s# +[^,]*##' Workspace.cc > Workspace.new
mv -f Workspace.new Workspace.cc
thanks,
Wilbert
--
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
Error: Your keyboard is not connected!
Press any key to continue.
diff -urN blackbox-0.62.0pre2.orig/src/Workspace.cc
blackbox-0.62.0pre2/src/Workspace.cc
--- blackbox-0.62.0pre2.orig/src/Workspace.cc Fri Jan 4 20:35:32 2002
+++ blackbox-0.62.0pre2/src/Workspace.cc Sat Jan 5 19:28:57 2002
@@ -345,7 +345,7 @@
(screen->getBorderWidth() * 4),
toolbar_h = screen->getToolbar()->getHeight() +
(screen->getBorderWidth() * 4),
- start_pos = screen->getBorderWidth() + screen->getEdgeSnapThreshold(),
+ start_pos = screen->getBorderWidth() /*+ screen->getEdgeSnapThreshold()*/,
change_y =
((screen->getColPlacementDirection() == BScreen::TopBottom) ? 1 : -1),
change_x =