wayland window: update buffer_rect when moving

Update both - rect and buffer_rect positions when moving wayland window

https://bugzilla.gnome.org/show_bug.cgi?id=731237
This commit is contained in:
Marek Chalupa 2014-06-26 15:18:50 +02:00 committed by Jasper St. Pierre
parent b2183dfda7
commit c14382181f

View File

@ -214,8 +214,8 @@ meta_window_wayland_move_resize_internal (MetaWindow *window,
if (new_x != window->rect.x || new_y != window->rect.y)
{
*result |= META_MOVE_RESIZE_RESULT_MOVED;
window->rect.x = new_x;
window->rect.y = new_y;
window->rect.x = window->buffer_rect.x = new_x;
window->rect.y = window->buffer_rect.y = new_y;
}
}
}