From f56c67698dea97ee016171d075e31c90c3310d34 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 11 Oct 2022 12:05:32 -0600 Subject: [PATCH] Wayland: don't allow minimizing applet popups either --- src/xdgshellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 57e9c254b1..c0865feebc 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -717,7 +717,7 @@ bool XdgToplevelWindow::isMaximizable() const bool XdgToplevelWindow::isMinimizable() const { - if (isSpecialWindow() && !isTransient()) { + if ((isSpecialWindow() && !isTransient()) || isAppletPopup()) { return false; } if (!rules()->checkMinimize(true)) {