class: DisplayRootView
authorStefan Vogel <sv@exept.de>
Tue, 18 Feb 2014 15:32:21 +0100
changeset 6267 5eb0ba53aa2a
parent 6266 1503c5e038d2
child 6268 b999f70fffb6
class: DisplayRootView changed: #isWindowManagerRunning access device via message send
DisplayRootView.st
--- a/DisplayRootView.st	Tue Feb 18 15:30:19 2014 +0100
+++ b/DisplayRootView.st	Tue Feb 18 15:32:21 2014 +0100
@@ -207,13 +207,13 @@
      This is done by performing an action (enabling button events of
      root window), which will fail if a window manager is running."
 
-    device platformName = 'WIN32' ifTrue:[^ true].
+    self graphicsDevice platformName = 'WIN32' ifTrue:[^ true].
 
-    device class deviceErrorSignal handle:[:ex |
+    self graphicsDevice class deviceErrorSignal handle:[:ex |
         ^ false.
     ] do:[
         self enableButtonEvents.
-        device flush.
+        self flush.
     ].
     ^ true
 
@@ -226,6 +226,6 @@
 !DisplayRootView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.37 2014-02-04 15:49:51 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DisplayRootView.st,v 1.38 2014-02-18 14:32:21 stefan Exp $'
 ! !