summaryrefslogtreecommitdiff
path: root/dali
diff options
context:
space:
mode:
authorYoungsun Suh <youngsun.suh@samsung.com>2024-05-08 13:33:58 +0900
committerYoungsun Suh <youngsun.suh@samsung.com>2024-05-08 14:24:03 +0900
commitcf7017cda623f0f16a4e78b155de89bec40c4bd2 (patch)
treeeefd46a950af87dd79ec7194ec310d3e89263e26 /dali
parent465547d40b4d9acc7c3b72adc219a9c00909c04d (diff)
downloaddali-adaptor-cf7017cda623f0f16a4e78b155de89bec40c4bd2.tar.gz
dali-adaptor-cf7017cda623f0f16a4e78b155de89bec40c4bd2.tar.bz2
dali-adaptor-cf7017cda623f0f16a4e78b155de89bec40c4bd2.zip
Emit WindowHidden event to atspi if window is invisible on accesbility enabled
Change-Id: I41539464d24a9b5a69476eb495c4c0115a1d8605
Diffstat (limited to 'dali')
-rw-r--r--dali/internal/window-system/common/window-impl.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/dali/internal/window-system/common/window-impl.cpp b/dali/internal/window-system/common/window-impl.cpp
index c43ae911f..b67e6475b 100644
--- a/dali/internal/window-system/common/window-impl.cpp
+++ b/dali/internal/window-system/common/window-impl.cpp
@@ -1211,17 +1211,19 @@ void Window::OnAccessibilityEnabled()
mIsEmittedWindowCreatedEvent = true;
}
- if(!mVisible || mIconified)
+ if(IsVisible())
{
- return;
- }
+ bridge->WindowShown(handle);
- bridge->WindowShown(handle);
-
- if(mFocused)
+ if(mFocused)
+ {
+ DALI_LOG_RELEASE_INFO("Window (%p), WinId (%d), Emit Accessbility Window Focused Event\n", this, mNativeWindowId);
+ bridge->WindowFocused(handle);
+ }
+ }
+ else
{
- DALI_LOG_RELEASE_INFO("Window (%p), WinId (%d), Emit Accessbility Window Focused Event\n", this, mNativeWindowId);
- bridge->WindowFocused(handle);
+ bridge->WindowHidden(handle);
}
}