--- 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 $'
! !
+