I have 2 monitors on my display. The primary is 1920x1080, the second
to the right of the primary is 1680x1050. The second monitor is aligned
at +1920+0, so there is 30 pixels dead space below its bottom edge.

I can't get Fvwm to properly apply SnapAttraction to the borders
between monitors, nor to the bottom edge of the second monitor. The
only exception is if I am 'pushing' a window against the top edge when
it meets the border between monitors. This isn't enough, I normally
have fairly large windows aligned to the bottom edge, where they don't
snap to the border between monitors at all.

This is very annoying. Why can't I have my windows snap to the border
between monitors? Why can't they snap to the bottom edge of the smaller
monitor? Fvwm is obviously capable of detecting the borders of monitors
because under certain limited conditions (pushing against the top edge)
it will snap, but this is barely useful at all.

I suppose it's a bug, and if I understand rightly there is a bug in the
handling of options to SnapAttraction. The man page implies ScreenAll
will snap to a lot more than just Screen, if I understand right, but I
can't see any difference in behaviour at all. Specifically, the
following two lines behave identically in my usage:

Style *                 ResizeOpaque, SnapAttraction 10 All Screen
Style *                 ResizeOpaque, SnapAttraction 10 All ScreenAll


Some config opts:

XineramaPrimaryScreen 1
EdgeScroll 0 0
DesktopSize 2 3
EdgeResistance -1
OpaqueMoveSize 200
IgnoreModifiers L25
Style *                 EdgeMoveResistance 30, EdgeMoveDelay -1
Style *                 ResizeOpaque, SnapAttraction 10 All ScreenAll

Style FvwmButtons !Title, BorderWidth 0, HandleWidth 0, Sticky,
SnapAttraction 0

Style FvwmIconMan !Title, BorderWidth 0, HandleWidth 0, Sticky,
SnapAttraction 0

Style FvwmPager !Title, BorderWidth 0, HandleWidth 0, Sticky,
SnapAttraction 0


Affected versions:

fvwm 2.6.5 compiled on Oct  1 2012 at 23:13:30
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Xinerama,
XRender, XCursor, XFT, NLS

fvwm 2.6.6 (from cvs) compiled on Jul  2 2015 at 13:19:50
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text,
Xinerama, XRender, XCursor, XFT, NLS


Full config:
http://ethan.uk.to/static/tmp/eekee-fvwm.tgz

-- 
Developing the austere intellectual discipline of keeping things
sufficiently simple is in this environment a formidable challenge,
both technically and educationally.
 -- Dijstraka, EWD898, 1984

Reply via email to