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 line one. 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 1152x864 74.8 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 LVDS connected 1280x800+0+1600 (normal left inverted right x axis y axis) 286mm x 179mm 1280x800 59.9*+ 1024x768 60.0 800x600 60.3 640x480 59.9 TMDS-1 connected (normal left inverted right x axis y axis) 1024x768 60.0 800x600 60.3 640x480 59.9 xorg.conf: ====================================== $ cat /etc/X11/xorg.conf Section "ServerLayout" Identifier "please fucking work" Screen "Screen0" EndSection Section "Monitor" Identifier "LVDS" VendorName "APP" ModelName "9c5f" EndSection Section "Monitor" Identifier "VGA" VendorName "DEL" ModelName "DELL 2001FP" Option "DPMS" EndSection Section "Monitor" Identifier "TMDS-1" VendorName "DEL" ModelName "DELL 2001FP" Option "DPMS" EndSection Section "Monitor" Identifier "TV" Option "Ignore" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0" Option "Monitor-LVDS" "LVDS" Option "Monitor-VGA" "VGA" Option "Monitor-TMDS-1" "TMDS-1" Option "Monitor-TV" "TV" EndSection Section "Screen" Identifier "Screen0" Device "Card0" SubSection "Display" Virtual 2400 2400 Depth 24 EndSubSection EndSection ====================================== (specifying a Monitor in the Screen section doesn't change anything) dmesg: ====================================== OpenBSD 4.4 (GENERIC.MP) #1812: Tue Aug 12 17:22:53 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2097393664 (2000MB) avail mem = 2036432896 (1942MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (43 entries) bios0: vendor Apple Inc. version "MB31.88Z.008E.B02.0803051832" date 03/05/08 bios0: Apple Inc. MacBook3,1 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2194.88 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2194.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (RP05) acpiprt2 at acpi0: bus 3 (RP06) acpiprt3 at acpi0: bus 4 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "15253732082930497" type 15253732284385612 oem "15253732284387396" acpivideo at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120b2906000b29 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2200 MHz (1356 mV): speeds: 2200, 1200 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0x80000000, size 0x10000000 inteldrm0 at vga1: Intel i965GM(0), 1.6.0 20080312 "Intel GM965 Video" rev 0x03 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 10) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 16 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 21 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 int 20 (irq 10) azalia0: codec[s]: Realtek/0x0885 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 16 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: apic 1 int 16 (irq 255) pci2 at ppb1 bus 2 "Broadcom BCM4328" rev 0x03 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x03: apic 1 int 17 (irq 255) pci3 at ppb2 bus 3 mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8058" rev 0x13, Yukon-2 EC Ultra (0x3): apic 1 int 17 (irq 7) msk0 at mskc0 port A: address 00:1e:c2:00:79:46 eephy0 at msk0 phy 0: Marvell 88E1149 Gigabit PHY, rev. 1 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16 (irq 11) uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 18 (irq 5) uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 21 (irq 9) ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20 (irq 10) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3 pci4 at ppb3 bus 4 "AT&T/Lucent FW322 1394" rev 0x61 at pci4 dev 3 function 0 not configured pcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03 pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRW GSA-S10N, BP10> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide1: using apic 1 int 18 (irq 5) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <FUJITSU MHY2160BH> wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int 20 (irq 10) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 mtrr: Pentium Pro MTRR support uhub7 at uhub1 port 1 "NEC Corporation USB2.0 Hub Controller" rev 2.00/1.00 addr 2 uhidev0 at uhub7 port 2 configuration 1 interface 0 "ATEN ATEN Composite" rev 1.10/1.00 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 3 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub7 port 2 configuration 1 interface 1 "ATEN ATEN Composite" rev 1.10/1.00 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 ugen0 at uhub1 port 4 "Micron Built-in iSight" rev 2.00/1.84 addr 4 uhidev2 at uhub2 port 1 configuration 1 interface 0 "Apple Computer ADB device" rev 2.00/19.65 addr 2 uhidev2: no input interrupt endpoint uhidev3 at uhub6 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/0.16 addr 2 uhidev3: iclass 3/0, 38 report ids uhid0 at uhidev3 reportid 36: input=4, output=0, feature=0 uhid1 at uhidev3 reportid 37: input=4, output=0, feature=0 uhid2 at uhidev3 reportid 38: input=4, output=0, feature=0 uhidev4 at uhub6 port 2 configuration 1 interface 0 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev4: iclass 3/1 ukbd1 at uhidev4: 8 modifier keys, 5 key codes, country code 33 wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev5 at uhub6 port 2 configuration 1 interface 1 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev5: iclass 3/1, 5 report ids ums1 at uhidev5 reportid 2: 3 buttons wsmouse1 at ums1 mux 0 ums2 at uhidev5 reportid 5 ums2: mouse has no X report uhidev6 at uhub6 port 2 configuration 1 interface 2 "Apple Computer Apple Internal Keyboard / Trackpad" rev 2.00/0.07 addr 3 uhidev6: iclass 3/0 uhid3 at uhidev6: input=1, output=0, feature=0 softraid0 at root root on wd0a swap on wd0b dump on wd0b ====================================== -- jared