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
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:
parent
68e067348b
commit
e9c3a93e16
2 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
|
@ -669,6 +669,7 @@ std::optional<google::protobuf::Any> 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();
|
||||
|
|
Loading…
Add table
Reference in a new issue