If the ec's position is not same to client's geometry which set by client,
then e send tizen_position changed event to the client to notice new position.
There was a bug that the window's position was not changed in below case.
"Hide -> Unset user geometry -> Show -> Set user geometry -> Move -> Resize".
This was because the ec's position was not same to the client's position.
In this case, ec's position was (0,0) and client's position was not (0, 0).
Change-Id: I53074b2de3bb98cb0aeff629a89776bcf1d380cb
_tzpol_iface_cb_pos_destroy);
psurf->poslist = eina_list_append(psurf->poslist, res_tzpos);
+
+ // if ec's pos is not same to client's geometry (ec->comp_data->shell.window),
+ // then send tizen_position changed event
+ if (ec->comp_data)
+ {
+ if ((ec->x != ec->comp_data->shell.window.x) ||
+ (ec->y != ec->comp_data->shell.window.y))
+ e_policy_wl_position_send(ec);
+ }
}
void