wayland/shm: prevent the window from flying away

With the new xdg_shell the problem will be no gone by itself.
This commit is contained in:
Alexander Preisinger 2014-02-11 18:10:05 +01:00
parent 157d470b31
commit 0670c541a5
1 changed files with 2 additions and 0 deletions

View File

@ -487,6 +487,8 @@ static void frame_handle_redraw(void *data,
if (p->resize_attach) {
destroy_shm_buffer(&p->tmp_buffer);
p->resize_attach = false;
p->x = 0;
p->y = 0;
}
}
else {