VirtualBox

Changeset 54841 in vbox for trunk


Ignore:
Timestamp:
Mar 18, 2015 6:21:19 PM (10 years ago)
Author:
vboxsync
Message:

Main/Display: fixes to new screen blanking feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r54830 r54841  
    10091009
    10101010    /* No updates for a blank guest screen. */
    1011     if (maFramebuffers[uScreenId].flags & VBVA_SCREEN_F_BLANK)
    1012         return;
     1011    /** @note Disabled for now, as the GUI does not update the picture when we
     1012     * first blank. */
     1013    /* if (maFramebuffers[uScreenId].flags & VBVA_SCREEN_F_BLANK)
     1014        return; */
    10131015
    10141016    if (uScreenId == VBOX_VIDEO_PRIMARY_SCREEN)
     
    39733975     * switches to the default format.
    39743976     */
    3975     fResize = fResize || RT_BOOL(pScreen->u16Flags & VBVA_SCREEN_F_BLANK);
     3977    fResize = fResize || RT_BOOL((pScreen->u16Flags ^ pFBInfo->flags) & VBVA_SCREEN_F_BLANK);
    39763978
    39773979    /* Check if this is a real resize or a notification about the screen origin.
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