aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/XWaylandManager.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-01 16:54:13 +0100
committervaxerski <[email protected]>2023-01-01 16:54:13 +0100
commitcb4f7482269664dd20c373eef5d862a770df1643 (patch)
tree0f95c6cafe2b6a0a5c11ee18a9bb42de749d6268 /src/managers/XWaylandManager.cpp
parent7525818097f92a99b2b8d02ea43bd0f8ccabd51c (diff)
downloadHyprland-cb4f7482269664dd20c373eef5d862a770df1643.tar.gz
Hyprland-cb4f7482269664dd20c373eef5d862a770df1643.zip
added fakefullscreen
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
-rw-r--r--src/managers/XWaylandManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp
index 50be350b..feb4c2ff 100644
--- a/src/managers/XWaylandManager.cpp
+++ b/src/managers/XWaylandManager.cpp
@@ -257,6 +257,8 @@ void CHyprXWaylandManager::setWindowFullscreen(CWindow* pWindow, bool fullscreen
if (pWindow->m_phForeignToplevel)
wlr_foreign_toplevel_handle_v1_set_fullscreen(pWindow->m_phForeignToplevel, fullscreen);
+
+ pWindow->m_bInFullscreenReported = fullscreen;
}
Vector2D CHyprXWaylandManager::getMaxSizeForWindow(CWindow* pWindow) {