mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +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
|
||||
|
||||
WMReleaseFont(tPtr->font);
|
||||
WMDeleteSelectionHandler(tPtr, XA_PRIMARY);
|
||||
|
||||
if (tPtr->text)
|
||||
free(tPtr->text);
|
||||
|
||||
Reference in New Issue
Block a user