Przeglądaj źródła

UI: Set dock floating after hiding it

Setting the dock floating before hiding it created a transparent window
on X11.
Norihiro Kamae 1 rok temu
rodzic
commit
7b2d555061
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      UI/api-interface.cpp

+ 1 - 1
UI/api-interface.cpp

@@ -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;
 	}