macbook amd64 with aug.12 snapshots, inteldrm enabled
in ukc (this situation exists either way tho)
using macbook LCD and external LCD (dell 2001FP)
via VGA cable.
external LCD physically rotated 90degrees CW and
situated directly above mac LCD. xrandr told to
rotate the VGA 'left' so text lines up right.
'Virtual' set in xorg.conf to be 2400x2400 so there's
enough room for 1600 line display to be above an 800
xrandr also told to situate the VGA display '--above'
the mac internal (LVDS) display.
can move windows around OK and everything looks like it
does the right thing.
so on the upper portion of the display i can see maximally
something 1200 px wide and 1600 tall; on the bottom portion,
i can see something 1280 px wide and 800 tall.
if i make a new window and maximize it (C-M-enter, C-M-f),
the window becomes 1280x2400.
is there any way to make cwm respect the current viewable
area of whatever monitor a window's 0x0 pixel happens to be
in when i maximize it?
i did a quick check with one other random wm (icewm) and
it seems to get *pretty* close to doing this (a bit of the
window decorations are off screen, but if i maximize a
window while in the upper display, it comes out to be
1200x1600, and if i do it in the lower display, 1280x800).
i also burned a day trying to make X consider the two monitors
to be two different 'Screen's (thinking that that would increase
the chance that maximizing things how i hope they'd be would be
wm-agnostic), but had zero success with that.
[/home/jrrs] $ ls -l $(which cwm)
-r-xr-xr-x 1 root bin 69856 Aug 6 17:08 /usr/X11R6/bin/cwm
[/home/jrrs] $ uname -vrsm
OpenBSD 4.4 GENERIC.MP#1812 amd64
[/home/jrrs] $ xrandr
Screen 0: minimum 320 x 200, current 1280 x 2400, maximum 2400 x 2400
VGA connected 1200x1600+0+0 left (normal left inverted right x axis y axis) 367mm x 275mm
1600x1200 60.0*+ 59.9
1280x1024 75.0 59.9 ...