wayland: buffer destroy/recreate in SetWHImpl too
This commit is contained in:
parent
724b008220
commit
b8a92f4ae0
1 changed files with 2 additions and 3 deletions
|
|
@ -779,10 +779,9 @@ static void MwLLSetWHImpl(MwLL handle, int w, int h) {
|
|||
|
||||
if(handle->wayland.type == MWLL_WAYLAND_TOPLEVEL) {
|
||||
xdg_surface_set_window_geometry(handle->wayland.toplevel->xdg_surface, 0, 0, handle->wayland.ww, handle->wayland.wh);
|
||||
} else {
|
||||
/* timed_redraw_by_epoch(handle->wayland.topmost_parent, 25);
|
||||
recursive_draw(handle->wayland.topmost_parent); */
|
||||
}
|
||||
buffer_destroy(&handle->wayland);
|
||||
buffer_setup(&handle->wayland);
|
||||
MwLLDispatch(handle, draw, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue