support gradients in dwindle group colors
This commit is contained in:
parent
a91d0a374a
commit
7f595ed0ca
4 changed files with 43 additions and 41 deletions
|
|
@ -1486,8 +1486,8 @@ void CCompositor::updateWindowAnimatedDecorationValues(CWindow* pWindow) {
|
|||
|
||||
// border
|
||||
const auto RENDERDATA = g_pLayoutManager->getCurrentLayout()->requestRenderHints(pWindow);
|
||||
if (RENDERDATA.isBorderColor)
|
||||
setBorderColor(RENDERDATA.borderColor * (1.f / 255.f));
|
||||
if (RENDERDATA.isBorderGradient)
|
||||
setBorderColor(*RENDERDATA.borderGradient);
|
||||
else
|
||||
setBorderColor(
|
||||
pWindow == m_pLastWindow ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue