{
ecore_x_icccm_transient_for_unset(ownee);
ecore_x_icccm_transient_for_set(ownee, owner);
+
+ SysLog(NID_UI, "SetZOrderGroup");
}
void
Ecore_X_Window ownerWin = (Ecore_X_Window) ecore_evas_window_get(pOwnerLayer->GetEcoreEvas());
Ecore_X_Window owneeWin = (Ecore_X_Window) ecore_evas_window_get(pOwneeLayer->GetEcoreEvas());
- ecore_x_icccm_transient_for_unset(owneeWin);
- ecore_x_icccm_transient_for_set(owneeWin, ownerWin);
+ Ecore_X_Window_Type type;
+ ecore_x_netwm_window_type_get(owneeWin, &type);
+ if (type == ECORE_X_WINDOW_TYPE_NORMAL)
+ {
+ SysLog(NID_UI, "SetZOrderGroup : 0x%x, NORMAL", owneeWin);
+ ecore_x_icccm_transient_for_unset(owneeWin);
+ ecore_x_icccm_transient_for_set(owneeWin, ownerWin);
+ }
+ else
+ {
+ SysLog(NID_UI, "SetZOrderGroup : 0x%x, NOT NORMAL", owneeWin);
+ }
#if !defined(WINDOW_BASE_ROTATE)
int rotation = GetWindowRotation(*pOwnerWindow);