120
« on: October 26, 2007, 08:05:21 am »
it is an icewm patch that makes the rotation work
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']--- icewm/src/wmmgr.cc~ 2005-03-15 23:42:41.000000000 +0000
+++ icewm/src/wmmgr.cc 2005-03-15 23:58:20.000000000 +0000
@@ -70,6 +70,7 @@
XRRScreenChangeSelectInput(xapp->display(), handle(), True);
#endif
}
+ rotation = RR_Rotate_0;
#endif
fTopWin = new YWindow();;
@@ -2654,13 +2655,19 @@
#endif
if (width() != xrrsc.width ||
- height() != xrrsc.height)
+ height() != xrrsc.height ||
+ rotation != xrrsc.rotation)
{
MSG(("xrandr: %d %d",
xrrsc.width,
xrrsc.height));
- setSize(xrrsc.width, xrrsc.height);
+ if (xrrsc.rotation == RR_Rotate_0 ||
+ xrrsc.rotation == RR_Rotate_180)
+ setSize(xrrsc.width, xrrsc.height);
+ else
+ setSize(xrrsc.height, xrrsc.width);
+
updateXineramaInfo();
updateWorkArea();
#ifdef CONFIG_TASKBAR
@@ -2672,6 +2679,7 @@
#endif
#warning "make something better"
wmapp->actionPerformed(actionArrange, 0);
+ rotation = xrrsc.rotation;
}
}
#endif
[/div]
AND
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
--- icewm/src/wmmgr.h~ 2005-03-15 23:41:45.000000000 +0000
+++ icewm/src/wmmgr.h 2005-03-15 23:42:27.000000000 +0000
@@ -237,6 +237,9 @@
bool fFullscreenEnabled;
WMState fWmState;
+#ifdef CONFIG_XRANDR
+ Rotation rotation;
+#endif
};
extern YWindowManager *manager;[/div]
I havent played with fvwm so really couldnt point you in the correct direction, but I would have to look at fvwm to determine the issue... I'm busying gettin pdaXrom 2.0 squared away so I dont know when I would have a chance to look at it... Hopefully one of the other devs or community members can pop in and give you some advise.
Late