VirtualBox

Changeset 50805 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 17, 2014 3:57:45 PM (11 years ago)
Author:
vboxsync
Message:

DisplayImpl: repaint display after a resize (fixed a race)

File:
1 edited

Legend:

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

    r50754 r50805  
    10731073        }
    10741074        LogRelFlow(("[%d]: default format %d\n", uScreenId, pFBInfo->fDefaultFormat));
     1075
     1076        /* Repaint the display because VM continued to run during the framebuffer resize. */
     1077        InvalidateAndUpdateEMT(this, uScreenId, false);
    10751078
    10761079        /* Handle the case if there are some saved visible region that needs to be
     
    38423845                continue;
    38433846            }
    3844             /* Continue with normal processing because the status here is ResizeStatus_Void.
    3845              * Repaint all displays because VM continued to run during the framebuffer resize.
    3846              */
    3847             pDisplay->InvalidateAndUpdateEMT(pDisplay, uScreenId, false);
     3847            /* Continue with normal processing because the status here is ResizeStatus_Void. */
    38483848        }
    38493849        else if (u32ResizeStatus == ResizeStatus_InProgress)
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