UI: Fix always on top w/ projectors on Linux
Apparently, on Linux, you cannot update the window flags while it is still open, so just close the projectors and reopen them again when the setting changes.
This commit is contained in:
parent
27f913843a
commit
227f80ac48
3 changed files with 14 additions and 0 deletions
|
|
@ -2958,8 +2958,12 @@ void OBSBasicSettings::SaveGeneralSettings()
|
|||
config_set_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"ProjectorAlwaysOnTop",
|
||||
ui->projectorAlwaysOnTop->isChecked());
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
main->UpdateProjectorAlwaysOnTop(
|
||||
ui->projectorAlwaysOnTop->isChecked());
|
||||
#else
|
||||
main->ResetProjectors();
|
||||
#endif
|
||||
}
|
||||
|
||||
if (WidgetChanged(ui->recordWhenStreaming))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue