From: Seunghun Lee Date: Wed, 2 Dec 2015 01:16:54 +0000 (+0900) Subject: quickpanel: Stop apply unsupported region type until it support. X-Git-Tag: accepted/tizen/mobile/20151202.230652~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4226e3318e5efbf853d8db95fd32a3f4571b952e;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wm-policy.git quickpanel: Stop apply unsupported region type until it support. Change-Id: Ibc3393b37b7ae2ec0400697b700af0a8251a525a --- diff --git a/src/e_mod_wl.c b/src/e_mod_wl.c index 2366140..eeff85c 100644 --- a/src/e_mod_wl.c +++ b/src/e_mod_wl.c @@ -1938,14 +1938,21 @@ _tzsh_srv_iface_cb_region_set(struct wl_client *client, struct wl_resource *res_ if (tzsh_srv->role == TZSH_SRV_ROLE_QUICKPANEL) { - it = eina_tiler_iterator_new(tzsh_reg->tiler); // FIXME should consider rotation. - EINA_ITERATOR_FOREACH(it, r) + if (angle != 0) + return; + + // FIXME: region type + if (type == 0) { - e_mod_quickpanel_handler_region_set(r->x, r->y, r->w, r->h); - e_mod_indicator_create(r->w, r->h); - /* NOTE: supported single rectangle as a handler region for now. */ - break; + it = eina_tiler_iterator_new(tzsh_reg->tiler); + EINA_ITERATOR_FOREACH(it, r) + { + e_mod_quickpanel_handler_region_set(r->x, r->y, r->w, r->h); + e_mod_indicator_create(r->w, r->h); + /* NOTE: supported single rectangle as a handler region for now. */ + break; + } } } }