summaryrefslogtreecommitdiff
path: root/src/lib/elc_ctxpopup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elc_ctxpopup.c')
-rw-r--r--src/lib/elc_ctxpopup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index ce4eac952..3327b01dd 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -377,6 +377,8 @@ _calc_base_geometry(Evas_Object *obj, Evas_Coord_Rectangle *rect)
377 &hover_area.y, 377 &hover_area.y,
378 &hover_area.w, 378 &hover_area.w,
379 &hover_area.h); 379 &hover_area.h);
380 if (!strcmp(elm_widget_type_get(wd->parent), "elm_win"))
381 hover_area.x = hover_area.y = 0;
380 382
381 evas_object_geometry_get(obj, &pos.x, &pos.y, NULL, NULL); 383 evas_object_geometry_get(obj, &pos.x, &pos.y, NULL, NULL);
382 384
@@ -1299,6 +1301,8 @@ elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent)
1299 1301
1300 //Update Background 1302 //Update Background
1301 evas_object_geometry_get(parent, &x, &y, &w, &h); 1303 evas_object_geometry_get(parent, &x, &y, &w, &h);
1304 if (!strcmp(elm_widget_type_get(parent), "elm_win"))
1305 x = y = 0;
1302 evas_object_move(wd->bg, x, y); 1306 evas_object_move(wd->bg, x, y);
1303 evas_object_resize(wd->bg, w, h); 1307 evas_object_resize(wd->bg, w, h);
1304 1308