--- a/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Mon Mar 15 12:41:34 2010 +0200
+++ b/uifw/AknGlobalUI/OldStyleNotif/Src/AknSystemPopup.cpp Wed Mar 31 21:59:52 2010 +0300
@@ -49,7 +49,7 @@
#include <AknMediatorFacade.h>
#include <aknSDData.h>
-#include <secondarydisplay/AknSecondaryDisplayDefs.h>
+#include <SecondaryDisplay/AknSecondaryDisplayDefs.h>
#include <AknsUtils.h>
#include <aknglobalpopupprioritycontroller.h>
#include "GlobalWindowPriorities.h"
@@ -766,6 +766,11 @@
void CAknGlobalNoteDialog::HandlePointerEventL(const TPointerEvent& aPointerEvent)
{
+ if (aPointerEvent.iType == TPointerEvent::EButton1Down)
+ {
+ iCaptured = ETrue;
+ }
+
if (Rect().Contains(aPointerEvent.iPosition) && (aPointerEvent.iType == TPointerEvent::EButton1Up)
&& iIsAlarm)
{
@@ -776,7 +781,7 @@
}
else if ((iSoftkeys == R_AVKON_SOFTKEYS_EMPTY) &&
(iTimeoutInMicroseconds != ENoTimeout) &&
- (aPointerEvent.iType == TPointerEvent::EButton1Up))
+ (aPointerEvent.iType == TPointerEvent::EButton1Up)&& iCaptured)
{
CEikDialog::TryExitL(EAknSoftkeyExit);
}
@@ -784,6 +789,10 @@
{
CAknStaticNoteDialog::HandlePointerEventL(aPointerEvent);
}
+ if (aPointerEvent.iType == TPointerEvent::EButton1Up)
+ {
+ iCaptured = EFalse;
+ }
}
// class CAknGlobalNoteSubject