summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXClipboard.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:47:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-08 22:47:55 (GMT)
commit03c0942611154d629e8bc86b8c04bee84d856647 (patch)
tree8085e4e968c883798ec985c45f94065fe230ee15 /macosx/tkMacOSXClipboard.c
parent1c55338a832a8755e53647731572395b113824df (diff)
parentedda8b98be9e2a87f39bd513bf24636918702552 (diff)
downloadtk-03c0942611154d629e8bc86b8c04bee84d856647.zip
tk-03c0942611154d629e8bc86b8c04bee84d856647.tar.gz
tk-03c0942611154d629e8bc86b8c04bee84d856647.tar.bz2
Change XChangeWindowAttributes signature and many others to match Xorg, needed for Cygwin
Diffstat (limited to 'macosx/tkMacOSXClipboard.c')
-rw-r--r--macosx/tkMacOSXClipboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/tkMacOSXClipboard.c b/macosx/tkMacOSXClipboard.c
index 7105135..d1f1baa 100644
--- a/macosx/tkMacOSXClipboard.c
+++ b/macosx/tkMacOSXClipboard.c
@@ -161,7 +161,7 @@ TkSelGetSelection(
*----------------------------------------------------------------------
*/
-void
+int
XSetSelectionOwner(
Display *display, /* X Display. */
Atom selection, /* What selection to own. */
@@ -178,6 +178,7 @@ XSetSelectionOwner(
changeCount = [pb declareTypes:[NSArray array] owner:NSApp];
}
}
+ return Success;
}
/*
@@ -197,13 +198,14 @@ XSetSelectionOwner(
*----------------------------------------------------------------------
*/
-void
+int
TkMacOSXSelDeadWindow(
TkWindow *winPtr)
{
if (winPtr && winPtr == (TkWindow *)clipboardOwner) {
clipboardOwner = NULL;
}
+ return Success;
}
/*