diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-29 15:46:55 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-29 15:46:55 +1000 |
commit | c1e92cb20381f48df4e877a8afc209906495c397 (patch) | |
tree | ae4a2c11256106d5f0498dbbbe68a090a31f5411 | |
parent | af0b326b0b60d7b1c4a55caff1d66a3e68631277 (diff) |
allow panoramix with 1 screen
-rw-r--r-- | Xext/panoramiX.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/panoramiX.c b/Xext/panoramiX.c index d5655bc5e..9009afeac 100644 --- a/Xext/panoramiX.c +++ b/Xext/panoramiX.c @@ -429,8 +429,8 @@ void PanoramiXExtensionInit(int argc, char *argv[]) PanoramiXNumScreens = screenInfo.numScreens; if (PanoramiXNumScreens == 1) { /* Only 1 screen */ - noPanoramiXExtension = TRUE; - return; + // noPanoramiXExtension = TRUE; + // return; } while (panoramiXGeneration != serverGeneration) { @@ -725,7 +725,7 @@ PanoramiXMaybeAddDepth(DepthPtr pDepth) } } - if (!found) + if (!found && PanoramiXNumScreens != 1) return; j = PanoramiXNumDepths; |