- Timestamp:
- Nov 18, 2014 10:41:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
r53345 r53346 288 288 VBOXPtr pVBox = VBOXGetRec(crtc->scrn); 289 289 unsigned cDisplay = (uintptr_t)crtc->driver_private; 290 bool fDisabled = (mode == DPMSModeOff); 291 290 292 TRACE_LOG("cDisplay=%u, mode=%i\n", cDisplay, mode); 291 pVBox->pScreens[cDisplay].afDisabled = (mode == DPMSModeOff); 293 if (pVBox->pScreens[cDisplay].afDisabled == fDisabled) 294 return; 295 pVBox->pScreens[cDisplay].afDisabled = fDisabled; 292 296 /* Don't fiddle with the hardware if we are switched 293 297 * to a virtual terminal. */
Note:
See TracChangeset
for help on using the changeset viewer.