summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/window_v6.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/window_v6.x')
-rw-r--r--src/lib/ecore_wl2/window_v6.x6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_wl2/window_v6.x b/src/lib/ecore_wl2/window_v6.x
index 24e453c057..b4c16d433f 100644
--- a/src/lib/ecore_wl2/window_v6.x
+++ b/src/lib/ecore_wl2/window_v6.x
@@ -107,15 +107,15 @@ static void
107_window_v6_popup_create(Ecore_Wl2_Window *win) 107_window_v6_popup_create(Ecore_Wl2_Window *win)
108{ 108{
109 struct zxdg_positioner_v6 *pos; 109 struct zxdg_positioner_v6 *pos;
110 int wx, wy, ww, wh; 110 int ww, wh;
111 111
112 EINA_SAFETY_ON_NULL_RETURN(win->parent); 112 EINA_SAFETY_ON_NULL_RETURN(win->parent);
113 pos = zxdg_shell_v6_create_positioner(win->display->wl.zxdg_shell); 113 pos = zxdg_shell_v6_create_positioner(win->display->wl.zxdg_shell);
114 if (!pos) return; 114 if (!pos) return;
115 115
116 ecore_wl2_window_geometry_get(win, &wx, &wy, &ww, &wh); 116 ecore_wl2_window_geometry_get(win, NULL, NULL, &ww, &wh);
117 117
118 zxdg_positioner_v6_set_anchor_rect(pos, wx, wy, 1, 1); 118 zxdg_positioner_v6_set_anchor_rect(pos, 0, 0, 1, 1);
119 zxdg_positioner_v6_set_size(pos, ww, wh); 119 zxdg_positioner_v6_set_size(pos, ww, wh);
120 zxdg_positioner_v6_set_anchor(pos, ZXDG_POSITIONER_V6_ANCHOR_TOP | 120 zxdg_positioner_v6_set_anchor(pos, ZXDG_POSITIONER_V6_ANCHOR_TOP |
121 ZXDG_POSITIONER_V6_ANCHOR_LEFT); 121 ZXDG_POSITIONER_V6_ANCHOR_LEFT);