#OTHER
authorStefan Vogel <sv@exept.de>
Sun, 04 Oct 2015 21:20:22 +0200
changeset 6958 5b5a6800adf4
parent 6957 5493f1a1b259
child 6959 6ccca7da8715
#OTHER class: XWorkstation changed: #destroyView:withId: Take care of XFT fonts when destroying views
XWorkstation.st
--- a/XWorkstation.st	Sun Oct 04 21:19:46 2015 +0200
+++ b/XWorkstation.st	Sun Oct 04 21:20:22 2015 +0200
@@ -2263,6 +2263,9 @@
 !
 
 destroyView:aViewOrNil withId:aWindowId
+    XftFontDescription notNil ifTrue:[
+        XftFontDescription aboutToDestroyViewWithDevice:self id:aWindowId.
+    ].
     self primDestroyViewWithId:aWindowId.
     self removeKnownView:aViewOrNil withId:aWindowId.
 !