Move X11 specific KGlobalAccel handling into the x11-standalone platform
ClosedPublic

Authored by graesslin on Jan 17 2017, 6:15 AM.

Details

Summary

InputRedirection has a workaround to add a connect on a QAction which
is used for a global shortcut. This is specific to the X11 platform as
the xtime needs to be updated.

This change adds a new virtual method to the Platform and moves the
implementation into the X11 standalone platform. Thus it does no longer
gets called on Wayland.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 10269.Jan 17 2017, 6:15 AM
graesslin retitled this revision from to Move X11 specific KGlobalAccel handling into the x11-standalone platform.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin. · View Herald TranscriptJan 17 2017, 6:15 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg accepted this revision.Jan 17 2017, 9:39 AM
romangg added a reviewer: romangg.
This revision is now accepted and ready to land.Jan 17 2017, 9:39 AM
This revision was automatically updated to reflect the committed changes.