summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_window.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 87ef49dfe8..0a61e596ab 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -304,15 +304,15 @@ static const struct xdg_popup_listener _xdg_popup_listener =
304static void 304static void
305_ecore_wl2_window_xdg_popup_create(Ecore_Wl2_Window *win) 305_ecore_wl2_window_xdg_popup_create(Ecore_Wl2_Window *win)
306{ 306{
307 int gx, gy, gw, gh; 307 int gw, gh;
308 struct xdg_positioner *pos; 308 struct xdg_positioner *pos;
309 309
310 EINA_SAFETY_ON_NULL_RETURN(win->parent); 310 EINA_SAFETY_ON_NULL_RETURN(win->parent);
311 pos = xdg_wm_base_create_positioner(win->display->wl.xdg_wm_base); 311 pos = xdg_wm_base_create_positioner(win->display->wl.xdg_wm_base);
312 if (!pos) return; 312 if (!pos) return;
313 313
314 ecore_wl2_window_geometry_get(win, &gx, &gy, &gw, &gh); 314 ecore_wl2_window_geometry_get(win, NULL, NULL, &gw, &gh);
315 xdg_positioner_set_anchor_rect(pos, gx, gy, 1, 1); 315 xdg_positioner_set_anchor_rect(pos, 0, 0, 1, 1);
316 xdg_positioner_set_size(pos, gw, gh); 316 xdg_positioner_set_size(pos, gw, gh);
317 xdg_positioner_set_anchor(pos, XDG_POSITIONER_ANCHOR_TOP_LEFT); 317 xdg_positioner_set_anchor(pos, XDG_POSITIONER_ANCHOR_TOP_LEFT);
318 xdg_positioner_set_gravity(pos, ZXDG_POSITIONER_V6_ANCHOR_BOTTOM | 318 xdg_positioner_set_gravity(pos, ZXDG_POSITIONER_V6_ANCHOR_BOTTOM |