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
This commit is contained in:
parent
7cc566681d
commit
8fe8bf59a5
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ bool ShellClient::isMaximizable() const
|
||||||
|
|
||||||
bool ShellClient::isMinimizable() const
|
bool ShellClient::isMinimizable() const
|
||||||
{
|
{
|
||||||
return false;
|
return (!m_plasmaShellSurface || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ShellClient::isMovable() const
|
bool ShellClient::isMovable() const
|
||||||
|
|
Loading…
Reference in a new issue