From: Mike Blumenkrantz Date: Thu, 2 Jul 2015 18:58:10 +0000 (-0400) Subject: reorder xwayland client swap attribute setting X-Git-Tag: upstream/0.20.0~636 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b6b7b1f56cb93e0ea2e24da26438373b7eb84b6;p=platform%2Fupstream%2Fenlightenment.git reorder xwayland client swap attribute setting --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 35f1bd7..5b4d400 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -5388,15 +5388,15 @@ e_comp_x_xwayland_client_setup(E_Client *ec, E_Client *wc) wc->ignored = 0; if (ec->override) e_client_focus_stack_set(eina_list_remove(e_client_focus_stack_get(), wc)); - evas_object_show(wc->frame); evas_object_name_set(wc->frame, evas_object_name_get(ec->frame)); wc->x = ec->x, wc->y = ec->y; wc->client.x = ec->client.x, wc->client.y = ec->client.y; wc->w = ec->w, wc->h = ec->h; - wc->client.x = ec->client.x, wc->client.y = ec->client.y; + wc->client.w = ec->client.w, wc->client.h = ec->client.h; wc->layer = ec->layer; evas_object_layer_set(wc->frame, evas_object_layer_get(ec->frame)); evas_object_geometry_set(wc->frame, ec->x, ec->y, ec->w, ec->h); + evas_object_show(wc->frame); e_object_del(E_OBJECT(ec)); e_hints_window_visible_set(wc); _e_comp_x_client_stack(wc);