wayland: Only 'moved-to-rect' if move_to_rect() was used

Don't emit the 'moved-to-rect' signal if move_to_rect() was used.

https://bugzilla.gnome.org/show_bug.cgi?id=771516
This commit is contained in:
Jonas Ådahl 2016-09-16 15:42:37 +08:00 committed by Matthias Clasen
parent 13e00b70c0
commit f7c0661a61

View File

@ -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,