diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-03-11 16:00:34 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-03-11 16:02:57 -0400 |
commit | 18c821adc3ade389d013818fd5eadb9abe7fee5e (patch) | |
tree | f370c3ff226fec84b844dc30645822a416d72deb /src/modules/ibar | |
parent | 7722b42ba888d5d640e28e1a975e162b361b5f29 (diff) | |
download | enlightenment-18c821adc3ade389d013818fd5eadb9abe7fee5e.tar.gz |
slight ibar dnd optimization when checking taskbar apps for drop site
Diffstat (limited to 'src/modules/ibar')
-rw-r--r-- | src/modules/ibar/e_mod_main.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 0957005368..31ab39c6f4 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -771,16 +771,11 @@ _ibar_icon_at_coord(IBar *b, Evas_Coord x, Evas_Coord y) { Evas_Coord dx, dy, dw, dh; + /* block drops in the non-order section */ + if (ic->not_in_order) continue; evas_object_geometry_get(ic->o_holder, &dx, &dy, &dw, &dh); if (E_INSIDE(x, y, dx, dy, dw, dh)) - { - if (ic->not_in_order) - { - /* block drops in the non-order section */ - return NULL; - } - return ic; - } + return ic; } return NULL; } |