Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls"

This reverts commit 8aa6d59b7a.

This caused a regression in totem that still needs to be investigated.

https://bugzilla.gnome.org/show_bug.cgi?id=784314
This commit is contained in:
Michael Catanzaro 2017-10-19 19:47:30 -05:00
parent 9b874a40ac
commit 26ff667901

View File

@ -2663,8 +2663,7 @@ gdk_window_wayland_move_resize (GdkWindow *window,
if (with_move)
{
/* Each toplevel has in its own "root" coordinate system */
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL &&
(window->x != x || window->y != y))
if (GDK_WINDOW_TYPE (window) != GDK_WINDOW_TOPLEVEL)
{
window->x = x;
window->y = y;