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

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

Details

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

Diff Detail

Repository
R108 KWin
Branch
reevaluate-rules-after-app-id-change
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.Mar 12 2018, 5:08 PM
Restricted Application added a project: KWin. · View Herald TranscriptMar 12 2018, 5:08 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin requested review of this revision.Mar 12 2018, 5:08 PM
mart accepted this revision.Mar 13 2018, 11:54 AM
This revision is now accepted and ready to land.Mar 13 2018, 11:54 AM
This revision was automatically updated to reflect the committed changes.