WindowRuleEnforcer.shouldTile: explode condition
This commit is contained in:
@@ -12,8 +12,11 @@ class WindowRuleEnforcer {
|
|||||||
|
|
||||||
public shouldTile(kwinClient: TopLevel) {
|
public shouldTile(kwinClient: TopLevel) {
|
||||||
return Clients.canTileNow(kwinClient) && (
|
return Clients.canTileNow(kwinClient) && (
|
||||||
this.preferTiling.matches(kwinClient) ||
|
this.preferTiling.matches(kwinClient) || (
|
||||||
kwinClient.normalWindow && kwinClient.managed && !this.preferFloating.matches(kwinClient)
|
kwinClient.normalWindow &&
|
||||||
|
kwinClient.managed &&
|
||||||
|
!this.preferFloating.matches(kwinClient)
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user