Changeset 35269 in vbox
- Timestamp:
- Dec 20, 2010 11:32:03 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/x11/vboxvideo
- Files:
-
- 2 edited
-
vboxutils.c (modified) (3 diffs)
-
vboxvideo.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r35268 r35269 879 879 if (!pVBox->useDevice) 880 880 return FALSE; 881 int rc = VbglR3GetDisplayChangeRequest(pcx, pcy, pcBits, piDisplay, true);881 int rc = VbglR3GetDisplayChangeRequest(pcx, pcy, pcBits, piDisplay, false); 882 882 if (RT_SUCCESS(rc)) 883 883 return TRUE; … … 1086 1086 { 1087 1087 /* Query the host for the preferred resolution and colour depth */ 1088 uint32_t cx = 0, cy = 0, iScreenIn = 0, cBits = 32;1089 VBOXPtr pVBox = pScrn->driverPrivate; 1090 1091 TRACE_ ENTRY();1088 uint32_t cx = 0, cy = 0, iScreenIn = iScreen, cBits = 32; 1089 VBOXPtr pVBox = pScrn->driverPrivate; 1090 1091 TRACE_LOG("iScreen=%u\n", iScreen); 1092 1092 bool found = false; 1093 1093 if ( pVBox->aPreferredSize[iScreen].cx … … 1128 1128 if (pcy) 1129 1129 *pcy = cy; 1130 if (pc x)1130 if (pcBits) 1131 1131 *pcBits = cBits; 1132 TRACE_LOG("cx=%u, cy=%u, cBits=%u\n", cx, cy, cBits); 1132 1133 } 1133 1134 -
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r35268 r35269 483 483 return FALSE; 484 484 strncpy(sz, value->data, value->size); 485 TRACE_LOG("screen=%u, property value=%s\n", cDisplay, sz); 485 486 if (sscanf(sz, "%dx%d", &w, &h) != 2) 486 487 return FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.

