VirtualBox

Ignore:
Timestamp:
Mar 6, 2007 10:16:21 AM (18 years ago)
Author:
vboxsync
Message:

Fixed an isse when the Xorg server was not restarted after an X session was terminated

File:
1 edited

Legend:

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

    r1207 r1254  
    359359{
    360360    if (!pScrn->driverPrivate)
    361         pScrn->driverPrivate = xcalloc(sizeof(VBOXRec), 1);
     361    {
     362        pScrn->driverPrivate = xcalloc(sizeof(VBOXRec), 1);
     363        ((VBOXPtr)pScrn->driverPrivate)->vbox_fd = -1;
     364    }
    362365
    363366    return ((VBOXPtr)pScrn->driverPrivate);
     
    688691        xf86ShowUnusedOptions(pScrn->scrnIndex, pScrn->options);
    689692
    690     pVBox->vbox_fd = -1;
    691693    if (vbox_open (pScrn, pScreen, pVBox)) {
    692694        if (vbox_cursor_init(pScreen) != TRUE)
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