Changeset 8919 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- May 19, 2008 3:12:38 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/x11/xgraphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c
r8425 r8919 376 376 } 377 377 378 Bool 379 vbox_device_available(VBOXPtr pVBox) 380 { 381 return pVBox->useDevice; 382 } 383 378 384 static void 379 385 vbox_vmm_hide_cursor(ScrnInfoPtr pScrn, VBOXPtr pVBox) -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo.h
r8531 r8919 171 171 extern Bool vbox_open (ScrnInfoPtr pScrn, ScreenPtr pScreen, VBOXPtr pVBox); 172 172 extern void vbox_close (ScrnInfoPtr pScrn, VBOXPtr pVBox); 173 extern Bool vbox_device_available(VBOXPtr pVBox); 173 174 174 175 extern Bool vboxEnableVbva(ScrnInfoPtr pScrn); -
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c
r8531 r8919 351 351 vbox_output_mode_valid (xf86OutputPtr output, DisplayModePtr mode) 352 352 { 353 if (vboxHostLikesVideoMode(mode->HDisplay, mode->VDisplay, 354 output->scrn->bitsPerPixel)) 353 if ( vboxHostLikesVideoMode(mode->HDisplay, mode->VDisplay, 354 output->scrn->bitsPerPixel) 355 || !vbox_device_available(VBOXGetRec(output->scrn)) 356 ) 355 357 return MODE_OK; 356 358 else
Note:
See TracChangeset
for help on using the changeset viewer.