Diffusion KWin 36a318986316

Create a dedicated X11EventFilter for recognizing first user interaction

Authored by graesslin on Aug 17 2017, 5:10 PM.

Description

Create a dedicated X11EventFilter for recognizing first user interaction

Summary:
Workspace monitors the X11 events to detect when the user first
interacts with the system. This is only required on X11 for activating
the same client from previous session. So far this was spread over many
parts in the long event switch statement. To make this more contained a
dedicated event filter is introduced which also gets deleted again once
the first user interaction got recognized.

Test Plan: Compiles

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

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

Details