Changeset 55543 in vbox
- Timestamp:
- Apr 30, 2015 10:57:46 AM (9 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 3 edited
-
VBoxHeadless/VBoxHeadless.cpp (modified) (1 diff)
-
VBoxSDL/VBoxSDL.cpp (modified) (2 diffs)
-
VirtualBox/src/globals/UIMainEventListener.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r55437 r55543 235 235 ComPtr<IShowWindowEvent> swev = aEvent; 236 236 Assert(swev); 237 swev->COMSETTER(WinId)(0); 237 /* Ignore the event, WinId is either still zero or some other listener assigned it. */ 238 NOREF(swev); /* swev->COMSETTER(WinId)(0); */ 238 239 break; 239 240 } -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r55401 r55543 529 529 if (!SDL_GetWMInfo(&info)) 530 530 pCSWEv->AddVeto(NULL); 531 else 532 pCSWEv->AddApproval(NULL); 531 533 #endif 532 534 break; … … 537 539 ComPtr<IShowWindowEvent> pSWEv = aEvent; 538 540 Assert(pSWEv); 541 LONG64 winId = 0; 542 pSWEv->COMGETTER(WinId)(&winId); 543 if (winId != 0) 544 break; /* WinId already set by some other listener. */ 539 545 #ifndef RT_OS_DARWIN 540 546 SDL_SysWMinfo info; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r55359 r55543 242 242 if (fVeto) 243 243 es.AddVeto(strReason); 244 else 245 es.AddApproval(strReason); 244 246 break; 245 247 } … … 248 250 CShowWindowEvent es(pEvent); 249 251 /* Has to be done in place to give an answer: */ 250 LONG64 winId; 252 LONG64 winId = es.GetWinId(); 253 if (winId != 0) 254 break; /* Already set by some listener. */ 251 255 emit sigShowWindow(winId); 252 256 es.SetWinId(winId);
Note:
See TracChangeset
for help on using the changeset viewer.

