From 8a154d3af19366a7ff32df83144c55196acdfd0a Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Fri, 12 Aug 2022 01:03:22 +0200 Subject: [PATCH] fix fullscreen move --- src/window.cpp | 2 +- src/xdgshellwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.cpp b/src/window.cpp index c0b6844f30..2e8d911662 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -2505,7 +2505,7 @@ bool Window::performMouseCommand(Options::MouseCommand cmd, const QPointF &globa // fallthrough case Options::MouseMove: case Options::MouseUnrestrictedMove: { - if (!isMovable() || !isMovableAcrossScreens()) { + if (!isMovableAcrossScreens()) { break; } if (isInteractiveMoveResize()) { diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 30988c5f4a..06b6c3714c 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -664,7 +664,7 @@ bool XdgToplevelWindow::isMovable() const bool XdgToplevelWindow::isMovableAcrossScreens() const { - if (isSpecialWindow() && !isSplash() && !isToolbar()) { + if ((isSpecialWindow() && !isSplash() && !isToolbar()) || isAppletPopup()) { return false; } if (rules()->checkPosition(invalidPoint) != invalidPoint) {