parent
5261a8df81
commit
683a4b07c5
3 changed files with 6 additions and 3 deletions
|
|
@ -2002,7 +2002,7 @@ SWorkspaceRule CConfigManager::getWorkspaceRuleFor(CWorkspace* pWorkspace) {
|
|||
return *IT;
|
||||
}
|
||||
|
||||
std::vector<SWindowRule> CConfigManager::getMatchingRules(CWindow* pWindow) {
|
||||
std::vector<SWindowRule> CConfigManager::getMatchingRules(CWindow* pWindow, bool dynamic) {
|
||||
if (!g_pCompositor->windowValidMapped(pWindow))
|
||||
return std::vector<SWindowRule>();
|
||||
|
||||
|
|
@ -2128,6 +2128,9 @@ std::vector<SWindowRule> CConfigManager::getMatchingRules(CWindow* pWindow) {
|
|||
|
||||
returns.push_back(rule);
|
||||
|
||||
if (dynamic)
|
||||
continue;
|
||||
|
||||
if (rule.szRule == "float")
|
||||
hasFloating = true;
|
||||
else if (rule.szRule == "fullscreen")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue