class: DisplayRootView
authorStefan Vogel <sv@exept.de>
Tue, 04 Feb 2014 16:49:51 +0100
changeset 6233 b746fb9ba0e3
parent 6232 3dcb1d72eac1
child 6234 404d91662d49
class: DisplayRootView changed: #initialize #reinitialize
DisplayRootView.st
--- a/DisplayRootView.st	Tue Feb 04 16:49:43 2014 +0100
+++ b/DisplayRootView.st	Tue Feb 04 16:49:51 2014 +0100
@@ -155,20 +155,26 @@
 !DisplayRootView methodsFor:'initialization & release'!
 
 initialize
+    |dev|
+
     super initialize.
 
-    width := device width.
-    height := device height.
-    drawableId := device rootWindowFor:self.
+    dev := self device.
+    width := dev width.
+    height := dev height.
+    self createRootWindow.
     realized := true.
 !
 
 reinitialize
     "reinit after snapin"
 
-    width := device width.
-    height := device height.
-    drawableId := device rootWindowFor:self.
+    |dev|
+
+    dev := self device.
+    width := dev width.
+    height := dev height.
+    self createRootWindow.
     realized := true.
     gcId := nil.
 ! !
@@ -220,5 +226,6 @@
 !DisplayRootView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.36 2008-07-09 12:44:23 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.37 2014-02-04 15:49:51 stefan Exp $'
 ! !
+