From 7325eace24c1459a4f7bd911994433a3a812bd31 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 7 Apr 2020 20:33:21 -0400 Subject: [PATCH] UI: Fix projector on other than primary display Calling showFullScreen after setGeometry puts the projector on the expected monitor. Previously (on FreeBSD, at least) it opened on the primary display. --- UI/window-projector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-projector.cpp b/UI/window-projector.cpp index 3cb051b95..ffb9ea076 100644 --- a/UI/window-projector.cpp +++ b/UI/window-projector.cpp @@ -166,8 +166,8 @@ void OBSProjector::SetMonitor(int monitor) { savedMonitor = monitor; QScreen *screen = QGuiApplication::screens()[monitor]; - showFullScreen(); setGeometry(screen->geometry()); + showFullScreen(); SetHideCursor(); }