From 880630790b975035b2e34279e485cb7a672cc5a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hatvani=20Tam=C3=A1s?= Date: Mon, 9 Mar 2026 21:29:36 +0100 Subject: [PATCH] loggin on window pos setting success --- SakuraVNE/src/Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SakuraVNE/src/Application.cpp b/SakuraVNE/src/Application.cpp index be441e1..1d51e2b 100644 --- a/SakuraVNE/src/Application.cpp +++ b/SakuraVNE/src/Application.cpp @@ -46,7 +46,9 @@ bool Application::Init() { if (GetWindowData().pos_x != -1 && GetWindowData().pos_y != -1) { if (!SDL_SetWindowPosition(m_Window, GetWindowData().pos_x, GetWindowData().pos_y)) { - LOG_ERROR("Failed to set SDL_Window position", SDL_GetError()); + LOG_ERROR("Failed to set SDL_Window position {0}", SDL_GetError()); + } else { + LOG_INFO("SDL window position set to the initial value: x {0}, y {1}", GetWindowData().pos_x, GetWindowData().pos_y); } }