}
DALI_ASSERT_ALWAYS( mEcoreWindow != 0 && "There is no ecore x window");
+#ifndef DALI_PROFILE_UBUNTU
// set property on window to get deiconify approve client message
unsigned int tmp = 1;
ecore_x_window_prop_card32_set(mEcoreWindow,
ECORE_X_ATOM_E_DEICONIFY_APPROVE,
&tmp, 1);
+#endif // DALI_PROFILE_UBUNTU
}
/**
static Eina_Bool EcoreEventClientMessage( void* data, int type, void* event )
{
Eina_Bool handled( ECORE_CALLBACK_PASS_ON );
+#ifndef DALI_PROFILE_UBUNTU
Ecore_X_Event_Client_Message* clientMessageEvent( (Ecore_X_Event_Client_Message*)event );
EventHandler* handler( (EventHandler*)data );
}
}
}
+#endif // DALI_PROFILE_UBUNTU
return handled;
}
mIndicatorStyle = style;
}
-void Window::ShowIndicator( bool show )
-{
- DALI_LOG_TRACE_METHOD_FMT( gWindowLogFilter, "%s\n", show?"SHOW":"HIDE" );
- DALI_ASSERT_DEBUG(mOverlay);
-
- if(show)
- {
- mIndicatorVisible = Dali::Window::VISIBLE;
- }
- else
- {
- mIndicatorVisible = Dali::Window::INVISIBLE;
- }
-
- DoShowIndicator( mIndicatorOrientation );
-}
-
void Window::ShowIndicator( Dali::Window::IndicatorVisibleMode visibleMode )
{
DALI_LOG_TRACE_METHOD_FMT( gWindowLogFilter, "visible : %d\n", visibleMode );
ECore::WindowRenderSurface* x11Window = dynamic_cast< ECore::WindowRenderSurface * >( mSurface );
if( x11Window )
{
+#ifndef DALI_PROFILE_UBUNTU
Ecore_X_Window win = x11Window->GetXWindow();
switch(type)
{
default:
break;
}
+#endif // DALI_PROFILE_UBUNTU
}
}
ECore::WindowRenderSurface* x11Window = dynamic_cast< ECore::WindowRenderSurface * >( mSurface );
if( x11Window )
{
+#ifndef DALI_PROFILE_UBUNTU
Ecore_X_Window ecoreWindow = x11Window->GetXWindow();
if( ! mWMRotationAppSet )
{
rotations[i] = static_cast<int>(mAvailableOrientations[i]);
}
ecore_x_e_window_rotation_available_rotations_set(ecoreWindow, rotations, mAvailableOrientations.size() );
-
+#endif // DALI_PROFILE_UBUNTU
}
}
ECore::WindowRenderSurface* x11Window = dynamic_cast< ECore::WindowRenderSurface * >( mSurface );
if( x11Window )
{
+#ifndef DALI_PROFILE_UBUNTU
Ecore_X_Window ecoreWindow = x11Window->GetXWindow();
if( ! mWMRotationAppSet )
}
ecore_x_e_window_rotation_preferred_rotation_set(ecoreWindow, orientation);
+#endif // DALI_PROFILE_UBUNTU
}
}
ECore::WindowRenderSurface* x11Window = dynamic_cast< ECore::WindowRenderSurface * >( mSurface );
if( x11Window )
{
+#ifndef DALI_PROFILE_UBUNTU
Ecore_X_Window ecoreWindow = x11Window->GetXWindow();
Ecore_X_Window root = ecore_x_window_root_get(ecoreWindow);
ecore_x_window_prop_property_set( ecoreWindow,
ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE,
ECORE_X_ATOM_CARDINAL, 32, &angles, 2 );
+#endif // DALI_PROFILE_UBUNTU
}
}