Changeset 9929 in vbox
- Timestamp:
- Jun 25, 2008 3:12:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_15.c
r9826 r9929 449 449 vbox_output_get_modes (xf86OutputPtr output) 450 450 { 451 uint32_t x, y, bpp, display;452 451 bool rc; 453 452 unsigned i; … … 459 458 if (vbox_device_available(pVBox)) 460 459 { 460 uint32_t x, y, bpp, display; 461 461 rc = vboxGetDisplayChangeRequest(pScrn, &x, &y, &bpp, &display); 462 462 /* @todo - check the display number once we support multiple displays. */ … … 474 474 * configuration file. */ 475 475 for (i = 0; pScrn->display->modes[i] != NULL; i++) 476 { 477 int x, y; 476 478 if (2 == sscanf(pScrn->display->modes[i], "%dx%d", &x, &y)) 477 479 vbox_output_add_mode(&pModes, pScrn->display->modes[i], x, y, 478 480 FALSE, TRUE); 481 } 479 482 TRACE2; 480 483 return pModes; … … 917 920 * This function hooks into the chain that is called when framebuffer access 918 921 * is allowed or disallowed by a call to EnableDisableFBAccess in the server. 919 * In other words, it observes when the server wishes access to the 922 * In other words, it observes when the server wishes access to the 920 923 * framebuffer to be enabled and when it should be disabled. We need to know 921 924 * this because we disable access ourselves during mode switches (presumably 922 925 * the server should do this but it doesn't) and want to know whether to 923 * restore it or not afterwards. 926 * restore it or not afterwards. 924 927 */ 925 928 static void
Note:
See TracChangeset
for help on using the changeset viewer.