prop |= E_CLIENT_PROPERTY_GRAVITY;
}
+ if (ec->changes.title)
+ {
+ ec->changes.title = 0;
+ prop |= E_CLIENT_PROPERTY_TITLE;
+ }
+
if ((ec->changes.visible) && (ec->visible) && (ec->new_client) && (!ec->iconic))
{
int x, y;
#endif
Eina_Bool accepts_focus : 1;
Eina_Bool tz_position : 1; /* true when new position is set using tizen_position interface */
+ unsigned char title : 1;
} changes;
struct
EINA_SAFETY_ON_NULL_RETURN_VAL(ec, EINA_FALSE);
if (name)
- eina_stringshare_replace(&ec->icccm.name, name);
+ {
+ if (eina_stringshare_replace(&ec->icccm.name, name))
+ ec->changes.title = EINA_TRUE;
+ }
if (title)
{
- eina_stringshare_replace(&ec->icccm.title, title);
+ if (eina_stringshare_replace(&ec->icccm.title, title))
+ ec->changes.title = EINA_TRUE;
+
if (ec->frame)
e_comp_object_frame_title_set(ec->frame, title);
}
+ if (ec->changes.title) EC_CHANGED(ec);
return EINA_TRUE;
}