bordername = "borderless";
else if (ec->bordername)
bordername = ec->bordername;
- else if (ec->mwm.borderless)
- bordername = "borderless";
else if (((ec->icccm.transient_for != 0) || (ec->dialog)) &&
(ec->icccm.min_w == ec->icccm.max_w) &&
(ec->icccm.min_h == ec->icccm.max_h))
CRI("CALLING WHEN border.changed SET!");
if (!e_util_strcmp(ec->border.name, name)) return EINA_TRUE;
- if (ec->mwm.borderless && name && strcmp(name, "borderless"))
- {
- CRI("border change attempted for MWM borderless client!");
- }
pborder = ec->border.name;
ec->border.name = eina_stringshare_add(name);
if (e_comp_object_frame_theme_set(ec->frame, name))
} fetch;
} icccm;
- /* MWM */
- struct
- {
- unsigned char exists : 1;
- unsigned char borderless : 1;
- struct
- {
- unsigned char hints : 1;
- } fetch;
- } mwm;
-
/* NetWM */
struct
{
e_client_util_borderless(const E_Client *ec)
{
if (!ec) return EINA_FALSE;
- return (ec->borderless || ec->mwm.borderless || (!ec->border.name) || (!strcmp(ec->border.name, "borderless")));
+ return (ec->borderless || (!ec->border.name) || (!strcmp(ec->border.name, "borderless")));
}
static inline Eina_Bool
e_comp_object_frame_allowed(Evas_Object *obj)
{
API_ENTRY EINA_FALSE;
- return (!cw->ec->mwm.borderless) && (cw->frame_object || (!cw->client_inset.calc));
+ return (cw->frame_object || (!cw->client_inset.calc));
}
EINTERN Eina_Bool