Changeset 9928 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jun 25, 2008 3:08:47 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32350
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c
r9826 r9928 416 416 vbox_output_get_modes (xf86OutputPtr output) 417 417 { 418 uint32_t x, y, bpp, display;419 418 bool rc; 420 419 unsigned i; … … 426 425 if (vbox_device_available(pVBox)) 427 426 { 427 uint32_t x, y, bpp, display; 428 428 rc = vboxGetDisplayChangeRequest(pScrn, &x, &y, &bpp, &display); 429 429 /** @todo - check the display number once we support multiple displays. */ … … 447 447 * configuration file. */ 448 448 for (i = 0; pScrn->display->modes[i] != NULL; i++) 449 { 450 int x, y; 449 451 if (2 == sscanf(pScrn->display->modes[i], "%dx%d", &x, &y)) 450 452 vbox_output_add_mode(&pModes, pScrn->display->modes[i], x, y, 451 453 FALSE, TRUE); 452 454 } 455 453 456 TRACE2; 454 457 return pModes; … … 841 844 * This function hooks into the chain that is called when framebuffer access 842 845 * is allowed or disallowed by a call to EnableDisableFBAccess in the server. 843 * In other words, it observes when the server wishes access to the 846 * In other words, it observes when the server wishes access to the 844 847 * framebuffer to be enabled and when it should be disabled. We need to know 845 848 * this because we disable access ourselves during mode switches (presumably 846 849 * the server should do this but it doesn't) and want to know whether to 847 * restore it or not afterwards. 850 * restore it or not afterwards. 848 851 */ 849 852 static void
Note:
See TracChangeset
for help on using the changeset viewer.