summaryrefslogtreecommitdiff
path: root/src/modules/ibar
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-11 16:00:34 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-11 16:02:57 -0400
commit18c821adc3ade389d013818fd5eadb9abe7fee5e (patch)
treef370c3ff226fec84b844dc30645822a416d72deb /src/modules/ibar
parent7722b42ba888d5d640e28e1a975e162b361b5f29 (diff)
downloadenlightenment-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.c11
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;
}