On Tue, Apr 06, 2010 at 03:10:11PM +0200, LEVAI Daniel wrote: > Hi! > > I'm using scrotwm on a laptop with a monitor connected. Scrotwm > detects the dual head setup, but acts funny regarding the screens. > First of all when scrotwm starts, it starts on 1:1 and 2:2 screens > on the two displays respectively. Maybe this is intentional, but I think > the default is 1:1 and 2:1, and this is some kind of a bug. > Then if I navigate across desktops (ws_prev, ws_next) on - let's say - > the first screen (it stands on 1:1 initially), using ws_next, scrotwm > jumps to 1:2 on screen 1, and jumps from 2:2 to 2:1 on screen 2. On the > top if this, the xterm which was on 1:1 initially, gets moved to screen > 2 (now desktop 2:1). > After this, using ws_prev restores the previous state; switches to 1:1 > and 2:2 respectively and moves back the xterm window to 1:1.
This is the correct behavior. Scrotwm unlike other WMs does not have static areas where you move windows in and out. Instead it has regions where you move workspaces into. So the flipping of screens you describe is scrotwm's very smart way of doing this trick without moving individual windows back and forth to accomplish the same. Takes a few days to get used to but then you wonder why not all of them are that way. > > What I was expecting, is that depending on which screen is active (1 or > 2), when I use the ws_prev or ws_next it jumps across the active > screen's desktops. So if screen 1 is active, using ws_next would get me > from 1:1->1:2->1:3->1:4 etc..., and using ws_prev would get me from > 1:4->1:3->1:2->1:1 etc... Not touching the windows (e.g.: the above xterm > example) and the other screen(s) desktops and states. > > Am I making sense? :) I'm willing make screenshots (lots of them :) if > this is somewhat shady. Yes, but this is by design. You'll get used to it and love it. > > So is the above described behavior intended, or is this a bug? > > > I'm using scrotwm scrotwm-0.9.22 from packages on a -current OpenBSD, > and here is my xrandr output: > $ xrandr > Screen 0: minimum 320 x 200, current 1680 x 2100, maximum 1680 x 2100 > VGA-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) > 474mm x 296mm > 1680x1050 59.9*+ 60.0 > 1280x1024 75.0 60.0 > 1440x900 75.0 59.9 > 1280x960 60.0 > 1152x864 75.0 > 1024x768 75.0 60.0 > 832x624 74.6 > 800x600 75.0 60.3 56.2 > 640x480 75.0 59.9 > 720x400 70.1 > LVDS connected 1400x1050+0+1050 (normal left inverted right x axis y axis) > 286mm x 214mm > 1400x1050 60.0*+ 50.0 > 1280x1024 59.9 60.0 > 1280x960 59.9 > 1280x854 59.9 > 1280x800 59.8 > 1280x720 59.9 > 1152x768 59.8 > 1024x768 60.0 59.9 > 800x600 60.3 59.9 > 640x480 59.9 59.4 > DVI-0 disconnected (normal left inverted right x axis y axis) > > > Dani > > -- > LIVAI Daniel > PGP key ID = 0x83B63A8F > Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F

