diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-08-12 17:43:59 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2010-08-12 17:45:02 +0200 |
commit | 2e6eca3e7bb19ea69db2cc367c9704c7d657db79 (patch) | |
tree | e9a51c40e0748c899102c989844f6b714d4af474 /src/vmware.c | |
parent | 456b74e8778ab0c44e8a70aa45f447ff5c562be3 (diff) |
Only set the first xinerama output as primary.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'src/vmware.c')
-rw-r--r-- | src/vmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vmware.c b/src/vmware.c index 5e683da..1327d35 100644 --- a/src/vmware.c +++ b/src/vmware.c @@ -1258,7 +1258,7 @@ vmwareNextXineramaState(VMWAREPtr pVMWARE) for (i = 0; i < pVMWARE->xineramaNumOutputs; i++) { vmwareWriteReg(pVMWARE, SVGA_REG_DISPLAY_ID, i); - vmwareWriteReg(pVMWARE, SVGA_REG_DISPLAY_IS_PRIMARY, TRUE); + vmwareWriteReg(pVMWARE, SVGA_REG_DISPLAY_IS_PRIMARY, i == 0); vmwareWriteReg(pVMWARE, SVGA_REG_DISPLAY_POSITION_X, xineramaState[i].x_org); vmwareWriteReg(pVMWARE, SVGA_REG_DISPLAY_POSITION_Y, |