Changeset 61603 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Jun 9, 2016 7:48:13 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107945
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r61548 r61603 1458 1458 winEr = NO_ERROR; 1459 1459 1460 if (i == iChangedMode && fEnable) 1460 /* Whether the current display should be enabled. */ 1461 BOOL fCurrentEnable = i == iChangedMode? 1462 fEnable: 1463 RT_BOOL(paDisplayDevices[i].StateFlags & DISPLAY_DEVICE_ACTIVE); 1464 1465 if (i == iChangedMode && fCurrentEnable) 1461 1466 { 1462 1467 RTRECTSIZE Size; … … 1473 1478 if (winEr == NO_ERROR) 1474 1479 { 1475 winEr = vboxDispIfResizePerform(pIf, i, f Enable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes);1480 winEr = vboxDispIfResizePerform(pIf, i, fCurrentEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes); 1476 1481 1477 1482 LogFunc(("vboxDispIfResizePerform returned %d\n", winEr)); … … 1479 1484 if (winEr == ERROR_RETRY) 1480 1485 { 1481 VBoxRrRetrySchedule(pIf, i, f Enable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes);1486 VBoxRrRetrySchedule(pIf, i, fCurrentEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes); 1482 1487 1483 1488 winEr = NO_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.