fix fullscreen move

This commit is contained in:
Xaver Hugl 2022-08-12 01:03:22 +02:00
parent 42bb455b06
commit 8a154d3af1
2 changed files with 2 additions and 2 deletions

View file

@ -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()) {

View file

@ -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) {