kwin/tabbox
Martin Gräßlin 2545162f87 Support highlighting windows through EffectsHandlerImpl
Summary:
So far TabBox used highlight windows by passing window ids around through
an X property. This doesn't work on Wayland where we don't have window
ids for our TabBox and the Wayland windows.

This change introduces a new Effect::Feature for HighlightWindows which
the HighlightWindowsEffect provides. The EffectsHandlerImpl has a new
method to highlightWindows which it delegates to that effect if it is
loaded by invoking a new performFeature method.

The TabBoxHandler now passes the highlighting to the effects system
instead of updating the x11 property. Thus this works on Wayland and
at the same time improves the X11 side by no longer having to go through
the property protocol.

Test Plan: Verified that Alt+Tab highlights the windows on Wayland correctly.

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D2630
2016-09-13 08:36:12 +02:00
..
clientmodel.cpp Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
clientmodel.h Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
CMakeLists.txt Move tabbox/autotests to autotests/tabbox 2016-06-29 10:38:17 +02:00
desktopchain.cpp Fix comparison between signed and unsigned integer expressions warning 2014-04-28 17:29:06 +02:00
desktopchain.h Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
desktopmodel.cpp [kwin] Add a method longestCaption() in TabBox::DesktopModel. 2013-12-22 10:40:28 +01:00
desktopmodel.h Replace NULL with nullptr in tabbox folder 2014-02-24 16:42:43 +01:00
kwindesktopswitcher.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2016-08-29 09:19:15 +00:00
kwinwindowswitcher.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2016-08-29 09:19:15 +00:00
switcheritem.cpp update SwitcherItem::screenGeometry when showing 2015-08-19 12:31:31 +02:00
switcheritem.h [kwin/tabbox] Use a QmlComponent instead of a QQuickView for TabBox 2013-12-12 09:37:29 +01:00
tabbox.cpp Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00
tabbox.h Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00
tabbox_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
tabbox_logging.h [tabbox] Add dedicated logging category for TabBox 2015-07-31 13:13:41 +02:00
tabboxconfig.cpp Remove show outline from TabBox 2013-04-24 10:02:57 +02:00
tabboxconfig.h [tabbox] Try locating the WindowSwitcher QML through configured lnf package 2014-10-28 16:53:23 +01:00
tabboxhandler.cpp Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00
tabboxhandler.h Support highlighting windows through EffectsHandlerImpl 2016-09-13 08:36:12 +02:00