Unfix value that wasn't supposed to be fixed, resulting in the system title bar always being used.
Some checks failed
Build / build-gentoo (push) Failing after 21s
Build / download-system-deps (push) Successful in 7m25s
Build / get-source-code (push) Successful in 26m16s
Build / build-deb (push) Failing after 9m57s
Build / build-appimage (push) Successful in 7m59s
Build / build-android (push) Failing after 6m53s
Build / build-windows (push) Failing after 13m7s

This commit is contained in:
Zachary Hall 2025-01-25 10:59:33 -08:00
parent 68e067348b
commit e9c3a93e16
2 changed files with 2 additions and 1 deletions

View file

@ -416,7 +416,7 @@ bool RendererBackend::UsingSystemTitlebar() {
return enable_system_title_bar; return enable_system_title_bar;
} }
void RendererBackend::EnableSystemTitlebar(bool enabled) { 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); SDL_SetWindowBordered(window, enable_system_title_bar ? SDL_TRUE : SDL_FALSE);
} }
bool RendererBackend::BeginMainMenuBar() { bool RendererBackend::BeginMainMenuBar() {

View file

@ -669,6 +669,7 @@ std::optional<google::protobuf::Any> PlaybackProcess::get_property(std::string p
call.mutable_get()->CopyFrom(get_property); call.mutable_get()->CopyFrom(get_property);
RPCResponse output = SendCommand(&call); RPCResponse output = SendCommand(&call);
if (output.has_err()) { if (output.has_err()) {
ERROR.writefln2("Error occurred getting property: {}", output.err().desc());
return {}; return {};
} }
return output.data().value(); return output.data().value();