projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7722b42
)
slight ibar dnd optimization when checking taskbar apps for drop site
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 11 Mar 2015 20:00:34 +0000
(16:00 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 11 Mar 2015 20:02:57 +0000
(16:02 -0400)
src/modules/ibar/e_mod_main.c
patch
|
blob
|
history
diff --git
a/src/modules/ibar/e_mod_main.c
b/src/modules/ibar/e_mod_main.c
index
0957005
..
31ab39c
100644
(file)
--- 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;
}