mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +01:00
Try to fix a crash by removing selection handler from textfield.
This commit is contained in:
1 parent
f039a59a1b
commit
a3dd7dc748
1 file changed
+1
@@ -1338,6 +1338,7 @@ destroyTextField(TextField *tPtr)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
WMReleaseFont(tPtr->font);
|
WMReleaseFont(tPtr->font);
|
||||||
|
WMDeleteSelectionHandler(tPtr, XA_PRIMARY);
|
||||||
|
|
||||||
if (tPtr->text)
|
if (tPtr->text)
|
||||||
free(tPtr->text);
|
free(tPtr->text);
|
||||||
|
|||||||
Reference in new issue
Block a user