wayland: Port "show under cursor" to Window::readyForPaintingChanged

This commit is contained in:
Vlad Zahorodnii 2024-01-29 23:57:54 +02:00
parent 6fb8eac890
commit 2ed54ee10f

View file

@ -322,7 +322,7 @@ void XdgSurfaceWindow::installPlasmaShellSurface(PlasmaShellSurfaceInterface *sh
keepInArea(workspace()->clientArea(PlacementArea, this));
}
};
connect(this, &Window::windowShown, this, moveUnderCursor, Qt::SingleShotConnection);
connect(this, &Window::readyForPaintingChanged, this, moveUnderCursor, Qt::SingleShotConnection);
};
auto updateRole = [this, shellSurface] {
WindowType type = WindowType::Unknown;