#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Thu, 13 Oct 2016 00:58:44 +0200
changeset 7616 07680ebea0f2
parent 7615 316516094a19
child 7617 3bcc92c94b66
#DOCUMENTATION by cg class: DisplaySurface changed: #initialize
DisplaySurface.st
--- a/DisplaySurface.st	Wed Oct 12 15:43:33 2016 +0200
+++ b/DisplaySurface.st	Thu Oct 13 00:58:44 2016 +0200
@@ -2274,7 +2274,7 @@
     device notNil ifTrue:[
         eventMask := device defaultEventMask.
     ].
-    viewBackground := gc background.
+    gc notNil ifTrue:[ viewBackground := gc background].
     backed := false.
     flags := 0.
     self initCursor