Merge branch 'Plasma/5.18'

This commit is contained in:
Vlad Zahorodnii 2020-01-16 17:33:57 +02:00
commit 76f7994137
3 changed files with 8 additions and 1 deletions

View file

@ -557,7 +557,7 @@ public:
void removeRule(Rules* r);
void setupWindowRules(bool ignore_temporary);
void evaluateWindowRules();
void applyWindowRules();
virtual void applyWindowRules();
virtual void takeFocus() = 0;
virtual bool wantsInput() const = 0;
/**

View file

@ -4944,4 +4944,10 @@ bool X11Client::hasOffscreenXineramaStrut() const
return !region.isEmpty();
}
void X11Client::applyWindowRules()
{
AbstractClient::applyWindowRules();
setBlockingCompositing(info->isBlockingCompositing());
}
} // namespace

View file

@ -109,6 +109,7 @@ public:
void checkGroup(Group* gr = nullptr, bool force = false);
void changeClientLeaderGroup(Group* gr);
void updateWindowRules(Rules::Types selection) override;
void applyWindowRules() override;
void updateFullscreenMonitors(NETFullscreenMonitors topology);
bool hasNETSupport() const;