Changeset 24142 in vbox
- Timestamp:
- Oct 28, 2009 3:10:34 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54068
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/x11-clipboard.cpp
r22237 r24142 640 640 #ifndef TESTCASE 641 641 if (RT_SUCCESS(rc)) 642 { 642 643 rc = clipLoadXFixes(pDisplay, pCtx); 644 if (RT_FAILURE(rc)) 645 LogRel(("Shared clipboard: failed to load the XFIXES extension.\n")); 646 } 643 647 #endif 644 648 if (RT_SUCCESS(rc)) … … 682 686 && (fcntl(pCtx->wakeupPipeRead, F_SETFL, O_NONBLOCK) != 0)) 683 687 rc = RTErrConvertFromErrno(errno); 688 if (RT_FAILURE(rc)) 689 LogRel(("Shared clipboard: failed to setup the termination mechanism.\n")); 684 690 } 685 691 else … … 687 693 if (RT_FAILURE(rc)) 688 694 clipUninit(pCtx); 695 if (RT_FAILURE(rc)) 696 LogRel(("Shared clipboard: initialisation failed: %Rrc\n", rc)); 689 697 return rc; 690 698 } … … 765 773 RTTHREADTYPE_IO, RTTHREADFLAGS_WAITABLE, "SHCLIP"); 766 774 if (RT_FAILURE(rc)) 767 LogRel(("Failed to initialise the shared clipboard X11 backend.\n")); 775 { 776 LogRel(("Failed to start the shared clipboard thread.\n")); 777 clipUninit(pCtx); 778 } 768 779 } 769 780 #endif -
trunk/src/VBox/HostServices/SharedClipboard/x11-clipboard.cpp
r22181 r24142 125 125 rc = ClipStartX11(pBackend, true /* grab shared clipboard */); 126 126 } 127 if (RT_FAILURE(rc) && pBackend)128 ClipStopX11(pCtx->pBackend);129 127 if (RT_FAILURE(rc)) 130 128 RTCritSectDelete(&pCtx->clipboardMutex);
Note:
See TracChangeset
for help on using the changeset viewer.