mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Restore missed QWindow::setScreen
This commit is contained in:
@@ -475,7 +475,7 @@ void PipPanel::setPositionDefault() {
|
||||
const auto parentScreen = widgetScreen(_parent);
|
||||
const auto myScreen = widgetScreen(widget());
|
||||
if (parentScreen && myScreen && myScreen != parentScreen) {
|
||||
widget()->setScreen(parentScreen);
|
||||
widget()->windowHandle()->setScreen(parentScreen);
|
||||
}
|
||||
auto position = Position();
|
||||
position.snapped = RectPart::Top | RectPart::Left;
|
||||
|
Reference in New Issue
Block a user