Change-Id: I9fdb99aaff797ff67f41c707e87e9170ffdf32ab
for(int i =owneeCount-1; i>=0; i--)
{
pOwneeWindow = pWindow->GetOwnee(i);
- if (pOwneeWindow && pOwneeWindow->GetVisibleState() == true)
+ if (pOwneeWindow && pOwneeWindow->GetVisibleState() == true && pOwneeWindow->GetEnableState())
{
Tizen::Graphics::Rectangle rc(pOwneeWindow->GetAbsoluteBounds(true));
if ((x >= rc.x) && (x <= (rc.x + rc.width)) && (y >= rc.y) && (y <= (rc.y + rc.height)))
bool
_UiTouchEvent::IsEventEnabled(const _Control& control) const
{
+ if (GetTouchInfo()->GetTouchStatus() == _TOUCH_CANCELED)
+ {
+ return true;
+ }
+
if (!_UiEvent::IsEventEnabled(control))
{
return false;
}
- if (GetTouchInfo()->GetTouchStatus() != _TOUCH_CANCELED)
+ if (!control.IsInputEventEnabled())
{
- if (!control.IsInputEventEnabled())
- {
- return false;
- }
+ return false;
}
return true;