E_Layer layer_backup; // original layer (used by no desk_group mode)
E_Util_Transform *transform;
} desk_group;
+
+ Eina_Bool transient_for_always_on_top;
};
#define e_client_focus_policy_click(ec) \
E_POLICY_HINT_DEPENDENT_ROTATION = 9,
E_POLICY_HINT_ROT_RENDER_NOPENDING = 10,
E_POLICY_HINT_ICONIFY_BUFFER_FLUSH = 11,
+ E_POLICY_HINT_TRANSIENT_FOR_ALWAYS_ON_TOP = 12,
};
static const char *hint_names[] =
"wm.policy.win.rot.dependent",
"wm.policy.win.rot.render.nopending",
"wm.policy.win.iconify.buffer.flush",
+ "wm.policy.win.transient_for.always_on_top",
};
static void _e_policy_wl_surf_del(E_Policy_Wl_Surface *psurf);
else
ec->exp_iconify.buffer_flush = EINA_FALSE;
}
+ else if (!strncmp(hint->hint, hint_names[E_POLICY_HINT_TRANSIENT_FOR_ALWAYS_ON_TOP], strlen(hint->hint)))
+ {
+ if (!strncmp(hint->val, "1", 1))
+ {
+ ELOGF("TF_SET", "Transient for Always_on_top enabled", ec);
+ ec->transient_for_always_on_top = EINA_TRUE;
+ }
+ else
+ {
+ ELOGF("TF_SET", "Transient for Always_on_top disabled", ec);
+ ec->transient_for_always_on_top = EINA_FALSE;
+ }
+ }
}
}