mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 16:05:58 +01:00
renderer: ignore box offsets for fullscreen windows
This commit is contained in:
parent
2ba2c8aeee
commit
f92a86af53
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
|
||||||
|
|
||||||
// clip box for animated offsets
|
// clip box for animated offsets
|
||||||
const Vector2D PREOFFSETPOS = {renderdata.x, renderdata.y};
|
const Vector2D PREOFFSETPOS = {renderdata.x, renderdata.y};
|
||||||
if (!ignorePosition && pWindow->m_bIsFloating && !pWindow->m_bPinned) {
|
if (!ignorePosition && pWindow->m_bIsFloating && !pWindow->m_bPinned && !pWindow->m_bIsFullscreen) {
|
||||||
Vector2D offset;
|
Vector2D offset;
|
||||||
|
|
||||||
if (PWORKSPACE->m_vRenderOffset.vec().x != 0) {
|
if (PWORKSPACE->m_vRenderOffset.vec().x != 0) {
|
||||||
|
|
Loading…
Reference in a new issue