From 2ed54ee10f3b42bfcb10ac0df7d3bd92a494c7b0 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 29 Jan 2024 23:57:54 +0200 Subject: [PATCH] wayland: Port "show under cursor" to Window::readyForPaintingChanged --- src/xdgshellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 5260fd8239..16b0c90058 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -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;