aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authoradnano <me@adnano.co>2025-03-01 07:04:00 -0500
committeradnano <me@adnano.co>2025-03-01 07:04:00 -0500
commitfc69aa6e2bccca461a0bd0c10b448b64ccda1d42 (patch)
tree98b05a54f9d150690702f224b79a651fa3660752 /render.c
parenteec775fad7f7b090e6de2dbfe0c242129fddba41 (diff)
downloadwmenu-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/render.c b/render.c
index eca498f..e86d93b 100644
--- a/render.c
+++ b/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;
}