Render frame on surface enter - wmenu - 🔧 fork of wmenu
 (HTM) git clone git@git.drkhsh.at/wmenu.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e2542d34ed15308545125fac9bf324b32e7cf578
 (DIR) parent 3ad4b5ca3f9f66c71ec521d0d7261228ec7b4631
 (HTM) Author: adnano <me@adnano.co>
       Date:   Mon, 16 Dec 2024 10:56:51 -0500
       
       Render frame on surface enter
       
       This ensures that the menu is rendered with the correct scale.
       
       Fixes #14
       
       Diffstat:
         M wayland.c                           |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/wayland.c b/wayland.c
       @@ -208,6 +208,7 @@ static void noop() {
        static void surface_enter(void *data, struct wl_surface *surface, struct wl_output *wl_output) {
                struct wl_context *context = data;
                context->output = wl_output_get_user_data(wl_output);
       +        menu_render_items(context->menu);
        }
        
        static const struct wl_surface_listener surface_listener = {