VirtualBox

Changeset 53345 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 18, 2014 9:55:52 AM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: do not disable the screen on DPMS low power.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r52865 r53345  
    289289    unsigned cDisplay = (uintptr_t)crtc->driver_private;
    290290    TRACE_LOG("cDisplay=%u, mode=%i\n", cDisplay, mode);
    291     pVBox->pScreens[cDisplay].afDisabled = (mode != DPMSModeOn);
     291    pVBox->pScreens[cDisplay].afDisabled = (mode == DPMSModeOff);
    292292    /* Don't fiddle with the hardware if we are switched
    293293     * to a virtual terminal. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette