From: Seunghun Lee Date: Mon, 18 Jan 2016 04:49:48 +0000 (+0900) Subject: e_comp_wl: do not set tge geometry of frame object when client is borderless. X-Git-Tag: accepted/tizen/mobile/20160122.034543~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68fb4441a8ec39949ad90b35dd6a2751e9d9223f;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl: do not set tge geometry of frame object when client is borderless. Change-Id: I16e7bce408a98eb9cba19cde1e437112e5bf0800 --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index eaa1f6c..302070a 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1720,10 +1720,14 @@ _e_comp_wl_surface_state_size_update(E_Client *ec, E_Comp_Wl_Surface_State *stat if (!e_pixmap_size_get(ec->pixmap, &state->bw, &state->bh)) return; 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); + if ((!ec->borderless) && /* FIXME temporarily added this check code + * to prevent updating E_Client's size by frame */ + (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); + } else e_comp_object_frame_geometry_set(ec->frame, 0, 0, 0, 0); }