Revert "Window shortcuts now toggle (raise/minimize) windows."
We're in a feature freeze. This reverts commit 776d131206c20097b5ad672179598373f7d8ac8e.
This commit is contained in:
parent
f1b497e2b0
commit
3108112cbf
1 changed files with 1 additions and 5 deletions
|
@ -922,10 +922,6 @@ void Client::updateUrgency()
|
|||
|
||||
void Client::shortcutActivated()
|
||||
{
|
||||
Client* raised_client = workspace()->topClientOnDesktop(desktop(), -1);
|
||||
if (isActive() && this == raised_client) // if client is already raised, pressing its shorcut hides it, giving the shortcut a 'toggle' effect
|
||||
setMinimized(true);
|
||||
else
|
||||
workspace()->activateClient(this, true); // force
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue