mirror of
https://github.com/Cloudef/bemenu
synced 2025-01-03 00:42:02 +00:00
wayland: remove unneccessary commit and roundtrip
This commit is contained in:
parent
7a65abf52b
commit
af9fa0d105
@ -258,8 +258,6 @@ bm_wl_window_render(struct window *window, struct wl_display *display, struct bm
|
||||
|
||||
window->height = ceil(result.height / window->scale);
|
||||
zwlr_layer_surface_v1_set_size(window->layer_surface, window->width, window->height);
|
||||
wl_surface_commit(window->surface);
|
||||
wl_display_roundtrip(display);
|
||||
destroy_buffer(buffer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user