projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064578a
)
Elm: Fix stupid hover widget to account for framespace. Fixes ticket
author
Christopher Michael
<cpmichael1@comcast.net>
Mon, 3 Sep 2012 12:04:39 +0000
(12:04 +0000)
committer
Christopher Michael
<cpmichael1@comcast.net>
Mon, 3 Sep 2012 12:04:39 +0000
(12:04 +0000)
1417.
SVN revision: 76003
src/lib/elm_hover.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_hover.c
b/src/lib/elm_hover.c
index
281d71c
..
55ddea1
100644
(file)
--- a/
src/lib/elm_hover.c
+++ b/
src/lib/elm_hover.c
@@
-296,7
+296,17
@@
_elm_hover_smart_sizing_eval(Evas_Object *obj)
if (sd->on_del) return;
- if (sd->parent) evas_object_geometry_get(sd->parent, &x, &y, &w, &h);
+ if (sd->parent)
+ {
+ Evas_Coord fx, fy;
+
+ evas_output_framespace_get(evas_object_evas_get(obj),
+ &fx, &fy, NULL, NULL);
+ evas_object_geometry_get(sd->parent, &x, &y, &w, &h);
+ x += fx;
+ y += fy;
+ }
+
evas_object_geometry_get(obj, &x2, &y2, &w2, &h2);
if (elm_widget_mirrored_get(obj)) ofs_x = w - (x2 - x) - w2;