Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/ibar Modified Files: e_mod_main.c Log Message: delete all selected files... when u want to delete =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v retrieving revision 1.153 retrieving revision 1.154 diff -u -3 -r1.153 -r1.154 --- e_mod_main.c 5 Oct 2006 13:53:22 -0000 1.153 +++ e_mod_main.c 8 Oct 2006 05:38:39 -0000 1.154 @@ -66,6 +66,7 @@ Evas_Object *o_holder2; Evas_Object *o_icon2; E_App *app; + int mouse_down; struct { unsigned char start : 1; unsigned char dnd : 1; @@ -888,6 +889,7 @@ ic->drag.y = ev->output.y; ic->drag.start = 1; ic->drag.dnd = 0; + ic->mouse_down = 1; } else if ((ev->button == 3) && (!ibar_config->menu)) { @@ -946,12 +948,13 @@ ev = event_info; ic = data; - if ((ev->button == 1) && (!ic->drag.dnd)) + if ((ev->button == 1) && (!ic->drag.dnd) && (ic->mouse_down == 1)) { e_zone_app_exec(ic->ibar->inst->gcc->gadcon->zone, ic->app); e_exehist_add("ibar", ic->app->exe); ic->drag.start = 0; ic->drag.dnd = 0; + ic->mouse_down = 0; } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs