summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/wayland/gdkwindow-wayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 7dbb97951d..3e0abb12e6 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1509,6 +1509,9 @@ xdg_popup_configure (void *data,
g_return_if_fail (impl->transient_for);
+ if (impl->position_method != POSITION_METHOD_MOVE_TO_RECT)
+ return;
+
calculate_moved_to_rect_result (window, x, y, width, height,
&flipped_rect,
&final_rect,