From e9c3a93e16089b9727cc4af9fcb5f24f6a9e0a4d Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sat, 25 Jan 2025 10:59:33 -0800 Subject: [PATCH] Unfix value that wasn't supposed to be fixed, resulting in the system title bar always being used. --- backends/ui/imgui/RendererBackend.cpp | 2 +- playback_process.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backends/ui/imgui/RendererBackend.cpp b/backends/ui/imgui/RendererBackend.cpp index ba6d171..34b441f 100644 --- a/backends/ui/imgui/RendererBackend.cpp +++ b/backends/ui/imgui/RendererBackend.cpp @@ -416,7 +416,7 @@ bool RendererBackend::UsingSystemTitlebar() { return enable_system_title_bar; } void RendererBackend::EnableSystemTitlebar(bool enabled) { - enable_system_title_bar = true; + enable_system_title_bar = enabled; SDL_SetWindowBordered(window, enable_system_title_bar ? SDL_TRUE : SDL_FALSE); } bool RendererBackend::BeginMainMenuBar() { diff --git a/playback_process.cpp b/playback_process.cpp index c20a76f..5991c78 100644 --- a/playback_process.cpp +++ b/playback_process.cpp @@ -669,6 +669,7 @@ std::optional PlaybackProcess::get_property(std::string p call.mutable_get()->CopyFrom(get_property); RPCResponse output = SendCommand(&call); if (output.has_err()) { + ERROR.writefln2("Error occurred getting property: {}", output.err().desc()); return {}; } return output.data().value();