From 95c25252180cd25a35a290948491fd9c2f899caf Mon Sep 17 00:00:00 2001 From: Adasauce Date: Wed, 12 Feb 2020 20:50:52 -0400 Subject: [PATCH] Remove move() in ImageOverlay it was causing the full screen image overlay to appear on the "primary display" vs. the actual display nheko is running on. removing the move() call makes the overlay follow the window. --- src/dialogs/ImageOverlay.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dialogs/ImageOverlay.cpp b/src/dialogs/ImageOverlay.cpp index a98c39c2..b1b7ea74 100644 --- a/src/dialogs/ImageOverlay.cpp +++ b/src/dialogs/ImageOverlay.cpp @@ -43,7 +43,6 @@ ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent) screen_ = QGuiApplication::primaryScreen()->availableGeometry(); - move(QApplication::desktop()->mapToGlobal(screen_.topLeft())); resize(screen_.size()); connect(this, SIGNAL(closing()), this, SLOT(close()));