From a3dd7dc7484422585442ac26e394bb58eb02f335 Mon Sep 17 00:00:00 2001 From: id Date: Fri, 28 May 1999 00:56:34 +0000 Subject: [PATCH] Try to fix a crash by removing selection handler from textfield. --- WINGs/wtextfield.c | 1 + 1 file changed, 1 insertion(+) diff --git a/WINGs/wtextfield.c b/WINGs/wtextfield.c index 419ee250..66afc42c 100644 --- a/WINGs/wtextfield.c +++ b/WINGs/wtextfield.c @@ -1338,6 +1338,7 @@ destroyTextField(TextField *tPtr) #endif WMReleaseFont(tPtr->font); + WMDeleteSelectionHandler(tPtr, XA_PRIMARY); if (tPtr->text) free(tPtr->text);