From 8fe8bf59a5c8c3cadcbb60617d80bf2aff8c7d79 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 29 Oct 2015 10:31:23 +0100 Subject: [PATCH] make most windows minimizable allow to minimize some kind of windows, all those that don't have a plasmashell surface and those that have and have Normal as role (to be sure to not minimize panel, desktop, etc) REVIEW:125842 --- shell_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_client.cpp b/shell_client.cpp index ee622b0d56..b466f97cc8 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -350,7 +350,7 @@ bool ShellClient::isMaximizable() const bool ShellClient::isMinimizable() const { - return false; + return (!m_plasmaShellSurface || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal); } bool ShellClient::isMovable() const