Diffusion KWin 2e2971132378

Rework InputDeviceHandler focus tracking

Authored by romangg on Sep 15 2018, 12:00 AM.

Description

Rework InputDeviceHandler focus tracking

Summary:
This patch aims at improving the Toplevel, internal window and decoration
focus tracking.

In detail the goals are:

  • Clean tracking of beneath and focus Toplevel as well as decoration and

internal windows. Splitting this up in well defined sub routines.

  • Minimal find Toplevel operations on window stack.
  • Reduce code duplication in pointer and touch child classes.
  • Reuse tracking in drag operations.
  • Allow direct usage of Wayland input interfaces for decoration and internal

windows in the future.

  • Update touch focus on external events like VD switches correctly.

Test Plan: Manually and existing autotests.

Reviewers: KWin

Subscribers: kwin, zzag

Tags: KWin

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

Details

Committed
romanggDec 2 2018, 8:36 PM
Differential Revision
D15595: Rework InputDeviceHandler focus tracking
Parents
R108:eab71a8a19b2: Privatize variables in InputDeviceHandler
Branches
Unknown
Tags
Unknown