diff --git a/kwin/src/cubeeffect.cpp b/kwin/src/cubeeffect.cpp index afa6a3c..5a70d16 100644 --- a/kwin/src/cubeeffect.cpp +++ b/kwin/src/cubeeffect.cpp @@ -155,6 +155,12 @@ void CubeEffect::activate() } setRunning(true); + + // QuickSceneEffect grabs the keyboard and mouse input, which pulls focus away from the active window + // and doesn't allow for interaction with anything on the desktop. These two calls fix that. + // TODO - move away from QuickSceneEffect + effects->ungrabKeyboard(); + effects->stopMouseInterception(this); } void CubeEffect::deactivate() diff --git a/kwin/src/qml/DesktopView.qml b/kwin/src/qml/DesktopView.qml index 4b05db9..b62bc63 100644 --- a/kwin/src/qml/DesktopView.qml +++ b/kwin/src/qml/DesktopView.qml @@ -15,6 +15,7 @@ Item { Repeater { model: KWinComponents.WindowFilterModel { activity: KWinComponents.Workspace.currentActivity + desktop: KWinComponents.Workspace.currentDesktop screenName: desktopView.screen.name windowModel: KWinComponents.WindowModel {} } diff --git a/kwin/src/qml/main.qml b/kwin/src/qml/main.qml index 0352cc3..5d7cfbe 100644 --- a/kwin/src/qml/main.qml +++ b/kwin/src/qml/main.qml @@ -12,7 +12,7 @@ import org.kde.kwin.effect.cube Item { id: root antialiasing: true - focus: true + focus: false required property QtObject effect required property QtObject targetScreen