Close window filtering when the delete key is pressed.
FEATURE: 180516 svn path=/trunk/KDE/kdebase/workspace/; revision=910395
This commit is contained in:
parent
b362b980cb
commit
b2a6be6bf0
1 changed files with 8 additions and 0 deletions
|
@ -368,6 +368,14 @@ void PresentWindowsEffect::grabbedKeyboardEvent( QKeyEvent *e )
|
|||
return;
|
||||
case Qt::Key_Tab:
|
||||
return; // Nothing at the moment
|
||||
case Qt::Key_Delete:
|
||||
if( !m_windowFilter.isEmpty() )
|
||||
{
|
||||
m_windowFilter.clear();
|
||||
updateFilterTexture();
|
||||
rearrangeWindows();
|
||||
}
|
||||
break;
|
||||
case 0:
|
||||
return; // HACK: Workaround for Qt bug on unbound keys (#178547)
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue