class: DisplayRootView
changed: #isWindowManagerRunning
access device via message send
--- 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 $'
! !