_e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
{
Eina_Bool placed = EINA_TRUE;
- int x = 0, y = 0;
int w, h;
int nw, nh;
E_Comp_Wl_Buffer *buffer;
_e_comp_wl_surface_state_size_update(ec, state);
e_comp_wl_map_size_cal_from_viewport(ec);
- /* update the position */
- if (ec->changes.pos)
- {
- e_view_client_frame_xy_unadjust(e_client_view_get(ec),
- ec->x, ec->y,
- &x, &y);
- }
- else
- {
- x = ec->client.x;
- y = ec->client.y;
- }
-
if (ec->new_client) placed = ec->placed;
if (!ec->lock_client_size)
}
else if (!e_client_video_hw_composition_check(ec))
{
+ int x = 0, y = 0;
+
+ /* update the position */
+ if (ec->changes.pos)
+ {
+ e_view_client_frame_xy_unadjust(e_client_view_get(ec),
+ ec->x, ec->y,
+ &x, &y);
+ }
+ else
+ {
+ x = ec->client.x;
+ y = ec->client.y;
+ }
+
e_client_util_move_resize_without_frame(ec, x, y, ec->w, ec->h);
}