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:
parent
b2183dfda7
commit
c14382181f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user