wayland: Port "show under cursor" to Window::readyForPaintingChanged
This commit is contained in:
parent
6fb8eac890
commit
2ed54ee10f
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ void XdgSurfaceWindow::installPlasmaShellSurface(PlasmaShellSurfaceInterface *sh
|
||||||
keepInArea(workspace()->clientArea(PlacementArea, this));
|
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] {
|
auto updateRole = [this, shellSurface] {
|
||||||
WindowType type = WindowType::Unknown;
|
WindowType type = WindowType::Unknown;
|
||||||
|
|
Loading…
Reference in a new issue