Revert "Window shortcuts now toggle (raise/minimize) windows."

We're in a feature freeze.

This reverts commit 776d131206c20097b5ad672179598373f7d8ac8e.
This commit is contained in:
Emil Sedgh 2012-11-22 11:42:11 +03:30
parent f1b497e2b0
commit 3108112cbf

View file

@ -922,11 +922,7 @@ 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
workspace()->activateClient(this, true); // force
}
//****************************************