Added window grouping for dwindle
furthermore, added LayoutRenderHints.
This commit is contained in:
parent
8197fded02
commit
b6a93b2f03
10 changed files with 221 additions and 18 deletions
|
|
@ -52,7 +52,9 @@ void CAnimationManager::tick() {
|
|||
continue;
|
||||
|
||||
// process the borders
|
||||
const auto& COLOR = g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL;
|
||||
const auto RENDERHINTS = g_pLayoutManager->getCurrentLayout()->requestRenderHints(&w);
|
||||
|
||||
const auto& COLOR = RENDERHINTS.isBorderColor ? RENDERHINTS.borderColor : g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL;
|
||||
|
||||
if (BORDERSENABLED) {
|
||||
if (!deltazero(COLOR, w.m_cRealBorderColor)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue