textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 46 bd83ceabce89
child 56 8152b1f1763a
--- a/textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp	Tue Sep 14 21:59:06 2010 +0300
+++ b/textinput/peninputarc/src/peninputserverapp/penuiwndctrl.cpp	Wed Sep 15 12:34:44 2010 +0300
@@ -397,6 +397,12 @@
     iCursorWnd->SetCursorVisible(EFalse);
     if (iResourceChange)
         {
+        TInt curPriority = iWndGroup.OrdinalPriority();
+        if ( curPriority == -1 )
+            {
+            // Make sure pen ui must be seen.
+            LiftUpPriority();
+            }
         ActivateL();
         iIncallBubble->SetIncallBubbleFlagsL( EAknStatusBubbleInputShow );
         MakeVisible( ETrue );
@@ -533,6 +539,10 @@
     // Draw is always full-screen in such case. So I change to DrawNow
     // for temprory solution.
     /*********************************************************************/ 
+    if ( !IsVisible() )
+        {
+        return;
+        }
     
     if(iShowPopup)
         {