Changeset 7410 in vbox for trunk/src/VBox/Additions/x11/xclient/clipboard.cpp
- Timestamp:
- Mar 10, 2008 2:52:17 PM (17 years ago)
- File:
-
- 1 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 }
Note:
See TracChangeset
for help on using the changeset viewer.