return (acceptsFocus ? true : false);
}
+void
+_EcoreEvas::SetWindowType(const _Window& window, int winType)
+{
+ _EflLayer* pLayer = GetEflLayer(window);
+ SysTryReturnVoidResult(NID_UI, pLayer, E_INVALID_ARG, "[E_INVALID_ARG] The window doesn't have a elf layer.");
+
+ Ecore_Evas* pEcoreEvas = pLayer->GetEcoreEvas();
+ SysTryReturnVoidResult(NID_UI, pEcoreEvas, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
+
+ Ecore_X_Window win = (Ecore_X_Window) ecore_evas_window_get(pEcoreEvas);
+
+ if (winType == _WINDOW_TYPE_SUB)
+ {
+ ecore_x_netwm_window_type_set(win, ECORE_X_WINDOW_TYPE_UTILITY);
+ }
+}
+
result
_EcoreEvas::SetFloatingMode(const _Window& window, bool enable)
{
}
else
{
+ pEcoreEvas->SetWindowType(*this, _WINDOW_TYPE_SUB);
SysLog(NID_UI, "[Window Manager Rotation][Window : 0x%x, UTILITY] Create.", GetNativeHandle());
}
#endif
void SetWindowOrientationEnabled(const _Window& window, bool enable);
#endif
+ void SetWindowType(const _Window& window, int winType);
result SetFloatingMode(const _Window& window, bool enable);
bool GetFloatingMode(const _Window& window) const;
void SetWindowActivationEnabled(const _Window& window, bool enable);