From e964af6dbc8e020528d85e8a56de678d8a969e4a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 4 Jan 2026 03:01:33 +0000 Subject: [PATCH 1/2] Initial plan From d34461c8e47ae8bf0fd43a23215690a36492b823 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 4 Jan 2026 03:04:41 +0000 Subject: [PATCH 2/2] fix: correct bounds width height order Co-authored-by: lijy91 <3889523+lijy91@users.noreply.github.com> --- src/capi/window_c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capi/window_c.cpp b/src/capi/window_c.cpp index 8cc5cb6..c5ea932 100644 --- a/src/capi/window_c.cpp +++ b/src/capi/window_c.cpp @@ -212,7 +212,7 @@ void native_window_set_bounds(native_window_t window, native_rectangle_t bounds) if (!window) return; auto* win = static_cast(window); - Rectangle rect = {bounds.x, bounds.y, bounds.height, bounds.width}; + Rectangle rect = {bounds.x, bounds.y, bounds.width, bounds.height}; win->SetBounds(rect); }