diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:49 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:49 +0000 |
commit | bdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (patch) | |
tree | e0a23167aca0fb1127f4cd78edf458b633b31eac /src/Selection.c | |
parent | 6a13c9e08bb042c81ae904c44a38a50d785c824e (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'src/Selection.c')
-rw-r--r-- | src/Selection.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Selection.c b/src/Selection.c index 846b1bd..0a5cd9d 100644 --- a/src/Selection.c +++ b/src/Selection.c @@ -58,11 +58,13 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xt/Selection.c,v 3.9 2001/12/14 19:56:29 dawes Exp $ */ #include "IntrinsicI.h" #include "StringDefs.h" #include "SelectionI.h" #include <X11/Xatom.h> +#include <stdio.h> void _XtSetDefaultSelectionTimeout(timeout) unsigned long *timeout; @@ -614,13 +616,14 @@ Boolean *cont; XtRemoveTimeOut(req->timeout); #endif if (req->allSent) { - if (ctx->notify) + if (ctx->notify) { if (ctx->incremental) { (*(XtSelectionDoneIncrProc)ctx->notify) (ctx->widget, &ctx->selection, &req->target, (XtRequestId*)&req, ctx->owner_closure); } else (*ctx->notify)(ctx->widget, &ctx->selection, &req->target); + } RemoveHandler(req, (EventMask)PropertyChangeMask, HandlePropertyGone, closure); XtFree((char*)req); |