Revert "Re-check the screen media viewer appears on before adjusting geometry"
This reverts commit c3b638449a
.
It doesn't work as it was supposed to :(
This commit is contained in:
parent
02eea38724
commit
e4d2a66f45
|
@ -432,7 +432,9 @@ void OverlayWidget::moveToScreen(bool force) {
|
|||
if (activeWindowScreen && myScreen && myScreen != activeWindowScreen) {
|
||||
windowHandle()->setScreen(activeWindowScreen);
|
||||
}
|
||||
const auto screen = widgetScreen(this);
|
||||
const auto screen = activeWindowScreen
|
||||
? activeWindowScreen
|
||||
: QApplication::primaryScreen();
|
||||
const auto available = screen->geometry();
|
||||
if (!force && geometry() == available) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue