Changeset 7410 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Mar 10, 2008 2:52:17 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/x11/xclient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/clipboard.cpp
r7264 r7410 1468 1468 LogFlowFunc(("\n")); 1469 1469 1470 TRACE;1471 1470 rc = vboxClipboardCreateWindow(); 1472 1471 if (VBOX_FAILURE(rc)) 1473 1472 return rc; 1474 1473 1475 TRACE;1476 1474 rc = RTThreadCreate(&g_ctx.thread, vboxClipboardThread, 0, 0, RTTHREADTYPE_IO, 1477 1475 RTTHREADFLAGS_WAITABLE, "SHCLIP"); 1478 1476 AssertRCReturn(rc, rc); 1479 1477 /* Set up a timer to poll the host clipboard */ 1480 TRACE;1481 1478 XtAppAddTimeOut(g_ctx.appContext, 200 /* ms */, vboxClipboardTimerProc, 0); 1482 1479 1483 TRACE;1484 1480 XtAppMainLoop(g_ctx.appContext); 1485 TRACE;1486 1481 g_ctx.formatList.clear(); 1487 TRACE;1488 1482 XtDestroyApplicationContext(g_ctx.appContext); 1489 1483 /* Set the termination signal. */ 1490 1484 RTSemEventSignal(g_ctx.terminating); 1491 1485 LogFlowFunc(("returning %d\n", rc)); 1492 TRACE;1493 1486 return rc; 1494 1487 } -
trunk/src/VBox/Additions/x11/xclient/main.cpp
r7313 r7410 182 182 pszFileName = "VBoxClient"; 183 183 184 TRACE;185 184 /* Parse our option(s) */ 186 185 /** @todo Use RTGetOpt() if the arguments become more complex. */ … … 202 201 } 203 202 } 204 TRACE;205 203 if (fDaemonise) 206 204 { … … 213 211 } 214 212 /* Initialise our runtime before all else. */ 215 TRACE;216 213 RTR3Init(false); 217 214 if (RT_FAILURE(VbglR3Init())) … … 220 217 return 1; 221 218 } 222 TRACE;223 219 if (fDaemonise && RT_FAILURE(vboxClientDropPrivileges())) 224 220 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.