From: Mike Blumenkrantz Date: Fri, 5 Oct 2012 08:05:50 +0000 (+0000) Subject: fix setting drag on new desktop gadgets X-Git-Tag: submit/efl/20131021.015651~3137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b1d8c9dd1bf05aaac0d1cec427d4c7ff67d3c59;p=platform%2Fupstream%2Fenlightenment.git fix setting drag on new desktop gadgets SVN revision: 77511 --- diff --git a/src/modules/gadman/e_mod_config.c b/src/modules/gadman/e_mod_config.c index a90df52..8dc27c3 100644 --- a/src/modules/gadman/e_mod_config.c +++ b/src/modules/gadman/e_mod_config.c @@ -98,7 +98,7 @@ _gcc_add(E_Config_Dialog_Data *cfdata, int type __UNUSED__, E_Event_Gadcon_Clien l = eina_list_data_find_list(cfdata->waiting, ev->gcc->gadcon); if (!l) return ECORE_CALLBACK_RENEW; if (ev->gcc->cf != eina_list_data_get(eina_list_last(ev->gcc->gadcon->cf->clients))) return ECORE_CALLBACK_RENEW; - ev->gcc->gadcon->drag_gcc = ev->gcc; + Man->drag_gcc[ev->gcc->gadcon->id - ID_GADMAN_LAYER_BASE] = ev->gcc; ev->gcc->cf->style = eina_stringshare_add(ev->gcc->client_class->default_style ?: E_GADCON_CLIENT_STYLE_INSET); ev->gcc->style = eina_stringshare_ref(ev->gcc->cf->style); ev->gcc->cf->geom.pos_x = DEFAULT_POS_X;