projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Support Ecore-Wayland2
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
system
/
tizen
/
widget-application-impl-tizen.cpp
diff --git
a/dali/internal/system/tizen/widget-application-impl-tizen.cpp
b/dali/internal/system/tizen/widget-application-impl-tizen.cpp
index
c40a872
..
b12f417
100644
(file)
--- a/
dali/internal/system/tizen/widget-application-impl-tizen.cpp
+++ b/
dali/internal/system/tizen/widget-application-impl-tizen.cpp
@@
-51,11
+51,13
@@
int OnInstanceInit(widget_base_instance_h instanceHandle, bundle *content, int w
Dali::Window window = application->GetWindow();
window.ShowIndicator(Dali::Window::INVISIBLE);
Any nativeHandle = window.GetNativeHandle();
Dali::Window window = application->GetWindow();
window.ShowIndicator(Dali::Window::INVISIBLE);
Any nativeHandle = window.GetNativeHandle();
-#ifdef ECORE_WL2
+
+#ifdef ECORE_WAYLAND2
Ecore_Wl2_Window * wlWindow = AnyCast<Ecore_Wl2_Window*>( nativeHandle );
#else
Ecore_Wl_Window * wlWindow = AnyCast<Ecore_Wl_Window*>( nativeHandle );
#endif
Ecore_Wl2_Window * wlWindow = AnyCast<Ecore_Wl2_Window*>( nativeHandle );
#else
Ecore_Wl_Window * wlWindow = AnyCast<Ecore_Wl_Window*>( nativeHandle );
#endif
+
widget_base_context_window_bind( instanceHandle, id, wlWindow );
window.SetSize( Dali::Window::WindowSize( w, h ) );
widget_base_context_window_bind( instanceHandle, id, wlWindow );
window.SetSize( Dali::Window::WindowSize( w, h ) );