diff options
author | adnano <me@adnano.co> | 2025-03-01 07:04:00 -0500 |
---|---|---|
committer | adnano <me@adnano.co> | 2025-03-01 07:04:00 -0500 |
commit | fc69aa6e2bccca461a0bd0c10b448b64ccda1d42 (patch) | |
tree | 98b05a54f9d150690702f224b79a651fa3660752 /render.c | |
parent | eec775fad7f7b090e6de2dbfe0c242129fddba41 (diff) | |
download | wmenu-fc69aa6e2bccca461a0bd0c10b448b64ccda1d42.tar.gz |
Render menu after surface enter event
This fixes an issue where the first visible frame is blurry on
fractional scale displays.
Diffstat (limited to 'render.c')
-rw-r--r-- | render.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |