- Timestamp:
- Jun 26, 2007 3:30:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r3289 r3300 513 513 if (!canShow) 514 514 return E_POINTER; 515 #if defined (__LINUX__)516 /// @todo see the big comment in Frontends/VirtualBox/src/VBoxVMListBoxItem::switchTo()517 *canShow = FALSE;518 #else519 515 SDL_SysWMinfo info; 520 516 SDL_VERSION(&info.version); 521 517 *canShow = !!SDL_GetWMInfo(&info); 522 #endif523 518 return S_OK; 524 519 } … … 531 526 { 532 527 #if defined (__LINUX__) 533 *winId = (ULONG64) info.info.x11.w indow;528 *winId = (ULONG64) info.info.x11.wmwindow; 534 529 #elif defined (__WIN__) 535 530 *winId = (ULONG64) info.window; … … 1916 1911 { 1917 1912 LogFlow(("SDL_USER_EVENT_XPCOM_EVENTQUEUE: processing XPCOM event queue...\n")); 1918 consumedXPCOMUserEvent();1919 1913 eventQ->ProcessPendingEvents(); 1920 1914 signalXPCOMEventQueueThread(); … … 4303 4297 int rc = SDL_PollEvent (event); 4304 4298 if (rc == 1) 4299 { 4300 #ifdef USE_XPCOM_QUEUE_THREAD 4301 if (event->type == SDL_USER_EVENT_XPCOM_EVENTQUEUE) 4302 consumedXPCOMUserEvent(); 4303 #endif 4305 4304 return 1; 4305 } 4306 4306 /* Immediately wake up if new SDL events are available. This does not 4307 4307 * work for internal SDL events. Don't wait more than 10ms. */
Note:
See TracChangeset
for help on using the changeset viewer.