Diffusion KWin 259e373bfc93

[tabbox] Expose noModifierGrab to QtQuick

Authored by graesslin on Apr 12 2017, 4:14 PM.

Description

[tabbox] Expose noModifierGrab to QtQuick

Summary:
There is a special mode in TabBox which is the noModifierGrab mode. This
is Alt+Tab active without a modifier being hold. This mode is entered
when being activated through screen edges (either pointer or touch). So
far this was not exposed to QtQuick and thus one could not end the mode
using pointer or touch. It is possible to select another window, but not
to activate it. That required the press of a keyboard key.

This setup is rather unfortunate. By exposing the mode to QtQuick we can
react from QtQuick side to it and invoke already exposed functionality to
select and item and directly activate it - existing left-over from the
Plasma Active window switcher.

Test Plan:
Tested on X11 and Wayland with an adjusted lnf package. It kind
of works, but there are additional issues on both X11 and Wayland.

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D5414

Details

Committed
graesslinApr 12 2017, 5:46 PM
Differential Revision
D5414: [tabbox] Expose noModifierGrab to QtQuick
Parents
R108:5cf05361ac90: Merge branch 'Plasma/5.9'
Branches
Unknown
Tags
Unknown