Fixed SVACE error in WindowBaseEcoreX 41/180441/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 29 May 2018 11:49:39 +0000 (12:49 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 29 May 2018 11:49:39 +0000 (12:49 +0100)
Change-Id: Ic7e96d0ad5917628290143ddb4c6a13f5fdf019a

dali/internal/window-system/ubuntu-x11/window-base-ecore-x.cpp

index 5f92464..e4b5975 100644 (file)
@@ -249,6 +249,7 @@ WindowBaseEcoreX::WindowBaseEcoreX( Dali::PositionSize positionSize, Any surface
 : mEcoreEventHandler(),
   mEcoreWindow( 0 ),
   mOwnSurface( false ),
+  mIsTransparent( false ), // Should only be set to true once we actually create a transparent window regardless of what isTransparent is.
   mRotationAppSet( false )
 {
   Initialize( positionSize, surface, isTransparent );
@@ -920,6 +921,7 @@ void WindowBaseEcoreX::CreateWindow( PositionSize positionSize, bool isTranspare
  {
    // create 32 bit window
    mEcoreWindow = ecore_x_window_argb_new( 0, positionSize.x, positionSize.y, positionSize.width, positionSize.height );
+   mIsTransparent = true;
  }
  else
  {