Changeset 8695
- Timestamp:
- 05/08/08 09:41:22 (8 months ago)
- Files:
-
- trunk/src/VBox/Additions/x11/xclient/displaychange-x11.cpp (modified) (2 diffs)
- trunk/src/VBox/Additions/x11/xclient/main.cpp (modified) (2 diffs)
- trunk/src/VBox/Additions/x11/xclient/seamless.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Additions/x11/xclient/displaychange-x11.cpp
r8476 r8695 81 81 { 82 82 uint32_t cx = 0, cy = 0, cBits = 0, iDisplay = 0; 83 intrc = VbglR3DisplayChangeWaitEvent(&cx, &cy, &cBits, &iDisplay);83 rc = VbglR3DisplayChangeWaitEvent(&cx, &cy, &cBits, &iDisplay); 84 84 /* Ignore the request if it is stale */ 85 85 if ((cx != cx0) || (cy != cy0)) … … 87 87 /* If we are not stopping, sleep for a bit to avoid using up too 88 88 much CPU while retrying. */ 89 if (RT_FAILURE(rc) && !mThread->isStopping()) 90 mThread->yield(); 89 if (RT_FAILURE(rc)) 90 { 91 if (!mThread->isStopping()) 92 mThread->yield(); 93 } 91 94 else 92 95 system("VBoxRandR"); trunk/src/VBox/Additions/x11/xclient/main.cpp
r8640 r8695 141 141 /** Disable seamless mode */ 142 142 VbglR3SeamlessSetCap(false); 143 VbglR3Term(); 143 printf(("VBoxClient: terminating...\n")); 144 /* don't call VbglR3Term() here otherwise the /dev/vboxadd filehandle is closed */ 144 145 /* Our pause() call will now return and exit. */ 145 146 } … … 290 291 try 291 292 { 293 /* r=frank: Why all these 2s delays? What are we waiting for? */ 292 294 #ifdef DYNAMIC_RESIZE 293 295 # ifdef SEAMLESS_GUEST trunk/src/VBox/Additions/x11/xclient/seamless.h
r8155 r8695 183 183 if (isInitialised) 184 184 { 185 mHost.stop( );185 mHost.stop(cMillies); 186 186 mGuestThread.stop(cMillies, 0); 187 187 mGuest.uninit();

