X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fubuntu-x11%2Fwindow-base-ecore-x.cpp;h=d71e7df5f7ef129a4d756275546ecc6cc3510ca2;hb=75c8a63b28da1d0e1ecb42897f7595ff28285e0c;hp=76395e281ae3817c74e9cfd6a01baae6dc9f8e1c;hpb=5a6f456f6996fcc78bae1b1ae1b2f423b95e5266;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp b/dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp index 76395e2..d71e7df 100755 --- a/dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp +++ b/dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp @@ -898,6 +898,22 @@ void WindowBaseEcoreX::CreateWindow( PositionSize positionSize, bool isTranspare } } +void WindowBaseEcoreX::SetParent( WindowBase* parentWinBase ) +{ + Ecore_X_Window ecoreParent = 0; + if( parentWinBase ) + { + WindowBaseEcoreX* winBaseEcoreX = static_cast( parentWinBase ); + ecoreParent = winBaseEcoreX->mEcoreWindow; + ecore_x_icccm_transient_for_set( mEcoreWindow, ecoreParent ); + } + else + { + ecoreParent = 0; + ecore_x_icccm_transient_for_unset( mEcoreWindow ); + } +} + } // namespace Adaptor } // namespace Internal