Skip to content

Commit

Permalink
UI: Set dock floating after hiding it
Browse files Browse the repository at this point in the history
Setting the dock floating before hiding it created a transparent window
on X11.
  • Loading branch information
norihiro authored and Lain-B committed Apr 20, 2024
1 parent d966742 commit 7b2d555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/api-interface.cpp
Expand Up @@ -416,8 +416,8 @@ struct OBSStudioAPI : obs_frontend_callbacks {

main->AddDockWidget(dock, Qt::RightDockWidgetArea);

dock->setFloating(true);
dock->setVisible(false);
dock->setFloating(true);

return true;
}
Expand Down

0 comments on commit 7b2d555

Please sign in to comment.