Integrate KGlobalAccel into kwin_wayland

Review Request #124187 - Created June 26, 2015 and submitted

Information
Martin Flöser
kwin
master
124186
13b4279...
Reviewers
kwin
We need to grab the DBusInterface before anything interacts with
org.kde.kglobalaccel to prevent kglobalaccel5 from starting.

[wayland] Add a plugin for kglobalaccel

The KGlobalAccelD which gets created by KWin needs a plugin for the
platform specific parts. This change introduces such a plugin. It's
linked against kwin so that it can integrate with the core.

On enable the plugin registers itself in the InputRedirection and
GlobalShortcutsManager checks the plugin whether a shortcut got
triggered.

As the loading of the plugin must happen after InputRedirection is
fully created a dedicated init method is added to InputRedirection.
  • run kwin_wayland on DrmBackend/Libinput
  • started yakuake and used F12 -> shows/hides correctly
  • started KRunner and used alt+space -> shows/hides correctly
  • used a few of KWin's own shortcuts - they all worked (modulo Alt+Tab where something is more broken)
Thomas Lübking
Martin Flöser
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 3041a7c32d6b95a032272e9ff1c791506bdc9114 by Martin Gräßlin to branch master.
Loading...