mirror of
https://codeberg.org/adnano/wmenu.git
synced 2025-10-29 05:40:20 -04:00
Render menu after surface enter event
This fixes an issue where the first visible frame is blurry on fractional scale displays.
This commit is contained in:
parent
eec775fad7
commit
fc69aa6e2b
4 changed files with 38 additions and 23 deletions
2
render.c
2
render.c
|
|
@ -207,4 +207,6 @@ void render_menu(struct menu *menu) {
|
|||
wl_surface_attach(surface, buffer->buffer, 0, 0);
|
||||
wl_surface_damage(surface, 0, 0, menu->width, menu->height);
|
||||
wl_surface_commit(surface);
|
||||
|
||||
menu->rendered = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue