mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 13:24:14 +01:00
Try to fix a crash by removing selection handler from textfield.
This commit is contained in:
@@ -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