Modify IsActivationEnabled
authorkeonpyo.kong <keonpyo.kong@samsung.com>
Sat, 13 Jul 2013 06:53:54 +0000 (15:53 +0900)
committerkeonpyo.kong <keonpyo.kong@samsung.com>
Sat, 13 Jul 2013 06:54:09 +0000 (15:54 +0900)
Change-Id: Ie1f109a43c75957b77555ec731a22f099ed17598
Signed-off-by: keonpyo.kong <keonpyo.kong@samsung.com>
src/ui/FUi_Window.cpp
src/ui/inc/FUi_FocusManagerImpl.h

index c1a53f0..1cd9442 100644 (file)
@@ -410,7 +410,7 @@ _Window::SetActivationEnabled(bool enable)
 bool
 _Window::IsActivationEnabled(void)
 {
-       if (__type == _WINDOW_TYPE_VE)
+       if (__type == _WINDOW_TYPE_VE || IsSystemWindow())
        {
                return IsFocusable();
        }
index ecc2e2e..60ffd63 100644 (file)
@@ -96,6 +96,7 @@ public:
 
        static void ReleaseInstance(void);
        bool IsFocusModeStateEnabled(void) const;
+       bool IsForwardDirection(void) const;
 
 private:
        /**
@@ -132,7 +133,6 @@ private:
        bool IsFocusable(_Control* pControl) const;
        _Control* FindTraversalControlFromChild(_Control* pControl);
        bool IsFocusControlListControl(_Control* pControl) const;
-       bool IsForwardDirection(void) const;
 
 private:
        static _FocusManagerImpl* __pInstance;