Hello,

I have for many years been running Fvwm2 in a traditional multihead
setup with screen 1 (:0.1) to the left of screen 0 (:0.0). My Linux
distribution of choice recently retired Fvwm2 in favor of Fvwm3, so
while making the upgrade I switched to a single-display, xrandr-based
multihead configuration. With 'DesktopConfiguration per-monitor' and
spawning two pagers with the corresponding 'Monitor <randr-name>'
directives, I have something that visually looks like the old setup
(DP-2 is to the left of DP-1 as xrandr sees it).

With Fvwm2 I could move (by grabbing the title bar [1]) a window in the
middle page of a DeskTopSize 3x3 desktop on the right monitor and drag
it to any of the adjacent pages. If the mouse position hit the edge of
the monitor, Fvwm switched pages within the right monitor.

If I try the same with Fvwm3 the behavior is the same as long as I don't
try to cross the left edge (i.e. where DP-1 and DP-2 are joined). If I
move the window across the left edge (with Fvwm3) it shows up on DP-2
where I can move it among the pages as long as I don't try to cross back
to the right.

Now to my question: Is there I way to restrict moves to stay in the same
monitor and switch pages when the mouse position crosses the monitor
boundary?

If it can't be accomplished using configuration, would a patch
supporting this be accepted?

I'm aware that due to the way xrandr multi-head works, I won't be able
to stop windows showing up across the monitor boundary. But even with
this miss-feature, I think the functionality would be useful.

Additionally, how is this proposed functionality best provided, an
additional option to Move, or perhaps a new interactive command,
MoveWithinDesktop?

[1] The binding is:

Mouse 1 TS      A       Move-or-Raise

AddToFunc Move-or-Raise         "I" Raise
+                               "M" Move
+                               "D" Lower

Regards,

--Frej

Reply via email to