diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 136eadf01..9dd036885 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -304,11 +304,13 @@ void DialogPrivate::updateVisibility(bool visible) updateLayoutParameters(); } +#ifdef HAVE_KWAYLAND //if is a wayland window that was hidden, we need //to set its position again as there won't be any move event to sync QWindow::position and shellsurface::position if (shellSurface) { shellSurface->setPosition(q->position()); } +#endif } }