I'm using pekwm on my notebook and whenever I add external monitor using xrandr all my windows moves to the new monitor even if I add it to the right of my notebooks LCD.
How to reproduce:
Initial state: LVDS1 connected 1440x900+0+0 VGA1 disconnected Few windows on LVDS1
Action: xrandr --output VGA1 --mode 1280x1024 --right-of LVDS1
End state: LVDS1 connected 1440x900+0+0 VGA1 connected 1280x1024+1440+0 All windows on VGA1
Same happends even if I add VGA1 to the left of LVDS1 but I would guess that in that case it's ok.