diff options
author | marha <marha@users.sourceforge.net> | 2010-12-01 06:54:34 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-01 06:54:34 +0000 |
commit | 30eaf03aef5847adb6da7efd4bbf4a4abaf5d738 (patch) | |
tree | 9096dda170059f36806901aee59b8cf2a839a9e9 /xorg-server/composite/compoverlay.c | |
parent | 57818d0fe4f7cf94279909f03ec11b326b284f1e (diff) | |
download | vcxsrv-30eaf03aef5847adb6da7efd4bbf4a4abaf5d738.tar.gz vcxsrv-30eaf03aef5847adb6da7efd4bbf4a4abaf5d738.tar.bz2 vcxsrv-30eaf03aef5847adb6da7efd4bbf4a4abaf5d738.zip |
xserver libX11 libxcb update 1/12/2010
Diffstat (limited to 'xorg-server/composite/compoverlay.c')
-rw-r--r-- | xorg-server/composite/compoverlay.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/xorg-server/composite/compoverlay.c b/xorg-server/composite/compoverlay.c index 6a5b01dfb..2d81aeb95 100644 --- a/xorg-server/composite/compoverlay.c +++ b/xorg-server/composite/compoverlay.c @@ -48,6 +48,10 @@ #include "compint.h"
#include "xace.h"
+#ifdef PANORAMIX
+#include "panoramiXsrv.h"
+#endif
+
/*
* Delete the given overlay client list element from its screen list.
*/
@@ -128,10 +132,19 @@ compCreateOverlayWindow (ScreenPtr pScreen) WindowPtr pWin;
XID attrs[] = { None, TRUE }; /* backPixmap, overrideRedirect */
int result;
+ int w = pScreen->width;
+ int h = pScreen->height;
+
+#ifdef PANORAMIX
+ if (!noPanoramiXExtension)
+ {
+ w = PanoramiXPixWidth;
+ h = PanoramiXPixHeight;
+ }
+#endif
pWin = cs->pOverlayWin =
- CreateWindow (cs->overlayWid, pRoot,
- 0, 0, pScreen->width, pScreen->height, 0,
+ CreateWindow (cs->overlayWid, pRoot, 0, 0, w, h, 0,
InputOutput, CWBackPixmap | CWOverrideRedirect, &attrs[0],
pRoot->drawable.depth,
serverClient, pScreen->rootVisual, &result);
|