fix nativeWindow handling on the quickpanel
authorminkyu kim <imetjade.kim@samsung.com>
Thu, 18 Jul 2013 06:48:24 +0000 (15:48 +0900)
committerminkyu kim <imetjade.kim@samsung.com>
Thu, 18 Jul 2013 06:48:24 +0000 (15:48 +0900)
Change-Id: Ie1f541a3ff3740aa7c1a039bbca593d5b5bcb953

src/ui/FUi_EflUiEventManager.cpp
src/ui/FUi_Window.cpp

index 5814238..56ac1f1 100644 (file)
@@ -422,8 +422,7 @@ private:
                while (pParent)
                {
                        _Window* pWindow = dynamic_cast<_Window*>(pParent);
-                       if (pWindow
-                               && (pWindow->GetNativeWindowActivated() == true || (pWindow->GetNativeWindowActivated() == false && pWindow->GetWindowType() == _WINDOW_TYPE_VE)))
+                       if (pWindow && (pWindow->GetNativeWindowActivated() == true))
                        {
                                nativeWindowActivated = true;
                                break;
index 1cd9442..67be6e5 100644 (file)
@@ -434,7 +434,14 @@ _Window::SetNativeWindowActivated(bool activated)
 bool
 _Window::GetNativeWindowActivated(void)
 {
-       return __nativeWindowActivated;
+       if ((GetWindowType() == _WINDOW_TYPE_VE) || IsSystemWindow())
+       {
+               return true;
+       }
+       else
+       {
+               return __nativeWindowActivated;
+       }
 }
 
 _RootVisualElement*