diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-01 22:29:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-01 22:29:19 (GMT) |
commit | e35d614587b25a1a03ededdf2d04bcbfca86be70 (patch) | |
tree | 5bc13e4395b89309cb5eb55ee6a0b1d763975de7 /mac/tkMacClipboard.c | |
parent | c985425b2f03e2e14bf3f7ee9884cd74c184373e (diff) | |
download | tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.zip tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.tar.gz tk-e35d614587b25a1a03ededdf2d04bcbfca86be70.tar.bz2 |
Change XSetDashes signature and many others to match Xorg, needed for Cygwin.
Add .PHONY targets, and various quoting issues (Makefile.in)
Diffstat (limited to 'mac/tkMacClipboard.c')
-rw-r--r-- | mac/tkMacClipboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mac/tkMacClipboard.c b/mac/tkMacClipboard.c index 953ae23..c25dc69 100644 --- a/mac/tkMacClipboard.c +++ b/mac/tkMacClipboard.c @@ -107,7 +107,7 @@ TkSelGetSelection( *---------------------------------------------------------------------- */ -void +int XSetSelectionOwner( Display* display, /* X Display. */ Atom selection, /* What selection to own. */ @@ -132,11 +132,11 @@ XSetSelectionOwner( */ dispPtr = TkGetMainInfoList()->winPtr->dispPtr; - if (dispPtr->clipboardActive) { - return; + if (!dispPtr->clipboardActive) { + ZeroScrap(); } - ZeroScrap(); } + return Success; } /* |