mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
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.
This commit is contained in:
parent
9fffd99661
commit
7325eace24
@ -166,8 +166,8 @@ void OBSProjector::SetMonitor(int monitor)
|
||||
{
|
||||
savedMonitor = monitor;
|
||||
QScreen *screen = QGuiApplication::screens()[monitor];
|
||||
showFullScreen();
|
||||
setGeometry(screen->geometry());
|
||||
showFullScreen();
|
||||
SetHideCursor();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user