mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-06 15:46:13 -05:00
UI: Add command line option for starting up always on top
Closes jp9000/obs-studio#853
This commit is contained in:
@@ -1371,7 +1371,7 @@ void OBSBasic::OBSInit()
|
||||
|
||||
bool alwaysOnTop = config_get_bool(App()->GlobalConfig(), "BasicWindow",
|
||||
"AlwaysOnTop");
|
||||
if (alwaysOnTop) {
|
||||
if (alwaysOnTop || opt_always_on_top) {
|
||||
SetAlwaysOnTop(this, true);
|
||||
ui->actionAlwaysOnTop->setChecked(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user