parent
0acad88c3c
commit
96365309de
1 changed files with 4 additions and 2 deletions
|
|
@ -271,8 +271,10 @@ void CDecorationPositioner::onWindowUpdate(PHLWINDOW pWindow) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WINDOWDATA->extents = {{stickyOffsetXL + reservedXL, stickyOffsetYT + reservedYT}, {stickyOffsetXR + reservedXR, stickyOffsetYB + reservedYB}};
|
if (WINDOWDATA->extents != SWindowDecorationExtents{{stickyOffsetXL + reservedXL, stickyOffsetYT + reservedYT}, {stickyOffsetXR + reservedXR, stickyOffsetYB + reservedYB}}) {
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateWindow(pWindow);
|
WINDOWDATA->extents = {{stickyOffsetXL + reservedXL, stickyOffsetYT + reservedYT}, {stickyOffsetXR + reservedXR, stickyOffsetYB + reservedYB}};
|
||||||
|
g_pLayoutManager->getCurrentLayout()->recalculateWindow(pWindow);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDecorationPositioner::onWindowUnmap(PHLWINDOW pWindow) {
|
void CDecorationPositioner::onWindowUnmap(PHLWINDOW pWindow) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue