Merge branch 'Plasma/5.6'

This commit is contained in:
Martin Gräßlin 2016-03-04 15:46:56 +01:00
commit c6f3fccdab

View file

@ -492,6 +492,7 @@ public:
if (!TabBox::TabBox::self() || !TabBox::TabBox::self()->isGrabbed()) { if (!TabBox::TabBox::self() || !TabBox::TabBox::self()->isGrabbed()) {
return false; return false;
} }
if (event->type() == QEvent::KeyPress)
TabBox::TabBox::self()->keyPress(event->modifiers() | event->key()); TabBox::TabBox::self()->keyPress(event->modifiers() | event->key());
return true; return true;
} }
@ -868,10 +869,10 @@ void InputRedirection::setupInputFilters()
installInputEventFilter(new ScreenEdgeInputFilter); installInputEventFilter(new ScreenEdgeInputFilter);
installInputEventFilter(new EffectsFilter); installInputEventFilter(new EffectsFilter);
installInputEventFilter(new MoveResizeFilter); installInputEventFilter(new MoveResizeFilter);
installInputEventFilter(new GlobalShortcutFilter);
#ifdef KWIN_BUILD_TABBOX #ifdef KWIN_BUILD_TABBOX
installInputEventFilter(new TabBoxInputFilter); installInputEventFilter(new TabBoxInputFilter);
#endif #endif
installInputEventFilter(new GlobalShortcutFilter);
installInputEventFilter(new InternalWindowEventFilter); installInputEventFilter(new InternalWindowEventFilter);
installInputEventFilter(new DecorationEventFilter); installInputEventFilter(new DecorationEventFilter);
if (waylandServer()) { if (waylandServer()) {