[plasma/kwin] src: Force windows without decorations to be at least 50px in the work area vertically

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c414af37587d54ae5d98dc39d8b34bd4bd74b792 by Vlad Zahorodnii.
Committed on 03/08/2026 at 05:37.
Pushed by vladz into branch 'master'.

Force windows without decorations to be at least 50px in the work area vertically

This makes it harder to move Firefox with client side decorations
completely behind the panel.

M  +4    -0    src/window.cpp

https://invent.kde.org/plasma/kwin/-/commit/c414af37587d54ae5d98dc39d8b34bd4bd74b792

diff --git a/src/window.cpp b/src/window.cpp
index 7019972edc1..9c033bd21b2 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1279,6 +1279,10 @@ QSizeF Window::minVisibleArea() const
         break;
     }
 
+    if (!minVisibleHeight) {
+        minVisibleHeight = 50;
+    }
+
     return QSizeF(minVisibleWidth, minVisibleHeight);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.