Force slideshow to open on same monitor as main window

This commit is contained in:
pax 2026-04-05 03:51:33 -05:00
parent eede01ff51
commit 385acc2a0a

View File

@ -84,6 +84,10 @@ class FullscreenPreview(QMainWindow):
from PySide6.QtWidgets import QApplication
QApplication.instance().installEventFilter(self)
# Show on the same monitor as the parent window
if parent and parent.screen():
self.setScreen(parent.screen())
self.setGeometry(parent.screen().geometry())
self.showFullScreen()
def update_state(self, bookmarked: bool, saved: bool) -> None: