#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Fri, 11 May 2018 09:24:54 +0200
changeset 8361 8d425e982530
parent 8360 3d1049e9b1b1
child 8362 573b5a8cc1c5
#REFACTORING by cg class: WindowSensor changed: #pushEvent:
WindowSensor.st
--- a/WindowSensor.st	Fri May 11 09:24:25 2018 +0200
+++ b/WindowSensor.st	Fri May 11 09:24:54 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
               All Rights Reserved
@@ -2533,9 +2535,7 @@
      (by sending arbitrary events, which leads to a message send,
       when the target windowGroups process is rescheduled)."
 
-    anEvent timeStamp isNil ifTrue:[
-        anEvent timeStamp:Timestamp now.
-    ].
+    anEvent ensureTimeStamped.
 
     "/ inform all local and global eventListeners ?
     (self notifyEventListenersAbout:anEvent) ifTrue:[