summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXClipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'carbon/tkMacOSXClipboard.c')
-rw-r--r--carbon/tkMacOSXClipboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/carbon/tkMacOSXClipboard.c b/carbon/tkMacOSXClipboard.c
index 07fc925..420ccf7 100644
--- a/carbon/tkMacOSXClipboard.c
+++ b/carbon/tkMacOSXClipboard.c
@@ -159,7 +159,7 @@ TkSelGetSelection(
*----------------------------------------------------------------------
*/
-void
+int
XSetSelectionOwner(
Display *display, /* X Display. */
Atom selection, /* What selection to own. */
@@ -184,10 +184,11 @@ XSetSelectionOwner(
dispPtr = TkGetMainInfoList()->winPtr->dispPtr;
if (dispPtr->clipboardActive) {
- return;
+ return Success;
}
ClearCurrentScrap();
}
+ return Success;
}
/*