Changeset 13584 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Oct 27, 2008 3:45:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/x11.cpp
r13524 r13584 51 51 #include <X11/Xproto.h> 52 52 #include <X11/StringDefs.h> 53 54 #ifdef RT_OS_SOLARIS 55 #include <tsol/label.h> 56 #endif 53 57 54 58 /** Do we want to test Utf16 by disabling other text formats? */ … … 1423 1427 /* When the data arrives, the vboxClipboardGetProc callback will be called. The 1424 1428 callback will signal the event semaphore when it has processed the data for us. */ 1429 1430 #ifdef RT_OS_SOLARIS 1431 /* 1432 * Trusted Xorg requires a bigger timeout. 1433 */ 1434 unsigned long cTimeoutMillies = CLIPBOARDTIMEOUT; 1435 if (is_system_labeled()) 1436 cTimeoutMillies = 1000 * 120; 1437 1438 if (RTSemEventWait(g_ctx.waitForData, cTimeoutMillies) != VINF_SUCCESS) 1439 #else 1425 1440 if (RTSemEventWait(g_ctx.waitForData, CLIPBOARDTIMEOUT) != VINF_SUCCESS) 1441 #endif 1426 1442 { 1427 1443 /* No need to polute the release log for this. */
Note:
See TracChangeset
for help on using the changeset viewer.