minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-01-25 10:44:13 -05:00
parent 4cf555f36e
commit 76cbf61616
1 changed files with 4 additions and 3 deletions

View File

@ -1232,9 +1232,10 @@ _e_comp_wl_surface_state_size_update(E_Client *ec, E_Comp_Wl_Surface_State *stat
if (e_client_has_xwindow(ec) || e_comp_object_frame_exists(ec->frame)) return;
window = &ec->comp_data->shell.window;
if (window->x || window->y || window->w || window->h)
e_comp_object_frame_geometry_set(ec->frame, -window->x, (window->x + window->w) - state->bw,
-window->y,
(window->y + window->h) - state->bh);
e_comp_object_frame_geometry_set(ec->frame, -window->x,
(window->x + window->w) - state->bw,
-window->y,
(window->y + window->h) - state->bh);
else
e_comp_object_frame_geometry_set(ec->frame, 0, 0, 0, 0);
}