From 387bd0fbe78756b030884805e61754cee1be4bb4 Mon Sep 17 00:00:00 2001 From: glepnir Date: Tue, 4 Aug 2026 19:39:59 +0800 Subject: [PATCH] refactor(window): use window handle in frame layout log (#41153) Problem: The frame layout debug log uses the obsolete window ID field. Solution: Use the window handle field when printing window information. --- src/nvim/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/window.c b/src/nvim/window.c index bee863e88b..5e18af5b2d 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -180,7 +180,7 @@ static void log_frame_layout(frame_T *frame) frame->fr_height, frame->fr_win == NULL ? -1 : frame->fr_win->w_width, frame->fr_win == NULL ? -1 : frame->fr_win->w_height, - frame->fr_win == NULL ? -1 : frame->fr_win->w_id); + frame->fr_win == NULL ? -1 : frame->fr_win->handle); if (frame->fr_child != NULL) { DLOG("children"); log_frame_layout(frame->fr_child);