windowing/windowserver/nga/SERVER/EVENT.CPP
branchRCL_3
changeset 186 1bc91eb0b8ae
parent 164 25ffed67c7ef
--- a/windowing/windowserver/nga/SERVER/EVENT.CPP	Tue Sep 14 23:50:05 2010 +0300
+++ b/windowing/windowserver/nga/SERVER/EVENT.CPP	Wed Sep 15 13:39:03 2010 +0300
@@ -970,6 +970,9 @@
 // Event has completed.
 //
 	{
+    TRawEvent::TType eventType = aRawEvent.Type();
+    TBool isPointerEvent = TWsPointer::IsPointerEventType(eventType);
+   
     TBool pauseProcessEvents = EFalse;
     //Check if the pause in processing all raw pointer and key events was set.
     if(iPauseInterval.Int64() > 0)
@@ -986,7 +989,7 @@
             {
             // Set flag ignore of processing all raw events (except processing by anim's dll plug-ins)
             // All events will be ignored except for anim's dll plug-ins.
-            pauseProcessEvents = ETrue;
+            pauseProcessEvents = isPointerEvent;
             }
         }
 
@@ -997,8 +1000,6 @@
         RDebug::Printf("{EVNT}TWindowServerEvent::ProcessRawEvent Processing of Raw Event - ENABLED");
 #endif
     
-	TRawEvent::TType eventType = aRawEvent.Type();
-	TBool isPointerEvent = TWsPointer::IsPointerEventType(eventType);
 	if (isPointerEvent)
 		{
 #ifdef LOG_WSERV_EVENTS