Diffusion KWin d3aa33b51bd6

Reevaluate window rules when the (xdg) shell surface's appId changes

Authored by graesslin on Mar 12 2018, 5:06 PM.

Description

Reevaluate window rules when the (xdg) shell surface's appId changes

Summary:
Especially when a window is first mapped it might be that the appId is
not yet set. So window rule matching doesn't happen. This change
evaluates the window rules again after the appId changes, so rules for
the appId match.

Test Plan: added test case

Reviewers: KWin, Plasma

Subscribers: kwin

Tags: KWin

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

Details

Committed
graesslinMar 18 2018, 8:16 AM
Differential Revision
D11268: Reevaluate window rules when the (xdg) shell surface's appId changes
Parents
R108:d61eaa2d66b0: Add a new desktopfile name rule
Branches
Unknown
Tags
Unknown