projects
/
platform
/
upstream
/
xf86-video-vmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456b74e
)
Only set the first xinerama output as primary.
author
Thomas Hellstrom
<thellstrom@vmware.com>
Thu, 12 Aug 2010 15:43:59 +0000
(17:43 +0200)
committer
Thomas Hellstrom
<thellstrom@vmware.com>
Thu, 12 Aug 2010 15:45:02 +0000
(17:45 +0200)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/vmware.c
patch
|
blob
|
history
diff --git
a/src/vmware.c
b/src/vmware.c
index
5e683da
..
1327d35
100644
(file)
--- 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,