VirtualBox

Changeset 54478 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Feb 25, 2015 10:46:25 AM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: fix sporadic failure to deactivate virtual screens.

File:
1 edited

Legend:

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

    r54197 r54478  
    298298
    299299    TRACE_LOG("cDisplay=%u, mode=%i\n", cDisplay, mode);
    300     if (pVBox->pScreens[cDisplay].fCrtcEnabled == fEnabled)
    301         return;
    302300    pVBox->pScreens[cDisplay].fCrtcEnabled = fEnabled;
    303301    /* Don't fiddle with the hardware if we are switched
     
    409407
    410408    TRACE_LOG("cDisplay=%u, mode=%i\n", cDisplay, mode);
    411     if (pVBox->pScreens[cDisplay].fOutputEnabled == fEnabled)
    412         return;
    413409    pVBox->pScreens[cDisplay].fOutputEnabled = fEnabled;
    414410    /* Don't fiddle with the hardware if we are switched
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