Changeset 8695 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- May 8, 2008 7:41:22 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30632
- Location:
- trunk/src/VBox/Additions/x11/xclient
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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();
Note:
See TracChangeset
for help on using the changeset viewer.