Diffusion KWin 9b32615ab4d5

Don't bind ShellClient::acceptsFocus to whether the window is shown

Authored by graesslin on Sep 12 2016, 8:05 AM.

Description

Don't bind ShellClient::acceptsFocus to whether the window is shown

Summary:
A not shown window may accept focus (e.g. when minimized). Given that
the condition was wrong and broke when making minimized windows not
shown.

This change takes the idea of not passing focus to a closing or unmapped
window directly into acceptsFocus. Which also means that this condition
now works for xdg_shell windows.

BUG: 368673

Reviewers: KWin, Plasma on Wayland, bshah

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

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

Details

Committed
graesslinSep 12 2016, 11:14 AM
Differential Revision
D2745: Don't bind ShellClient::acceptsFocus to whether the window is shown
Parents
R108:156bf258e938: Merge branch 'Plasma/5.7'
Branches
Unknown
Tags
Unknown