[wayland] Make clients with forced minimize state unminimizeable

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: fmonteiro, graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18496
remotes/origin/fredrik/swap-event-wip
Vlad Zagorodniy 7 years ago
parent 99abfe4e28
commit 6f7bea3acd
  1. 3
      shell_client.cpp

@ -761,6 +761,9 @@ bool ShellClient::isMaximizable() const
bool ShellClient::isMinimizable() const
{
if (!rules()->checkMinimize(true)) {
return false;
}
return (!m_plasmaShellSurface || m_plasmaShellSurface->role() == PlasmaShellSurfaceInterface::Role::Normal);
}

Loading…
Cancel
Save