aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-25 18:42:38 +0200
committervaxerski <[email protected]>2022-05-25 18:42:38 +0200
commitd09034ee2a7445aa97a0c74a5d3da28a5118cf0e (patch)
treeadb7a326108410ae560811e037491defd8c30936
parent08d4d987cf9e25332a358667332507fb3491ce9b (diff)
downloadHyprland-d09034ee2a7445aa97a0c74a5d3da28a5118cf0e.tar.gz
Hyprland-d09034ee2a7445aa97a0c74a5d3da28a5118cf0e.zip
Added a fullscreen event
-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 df3d34de..b9566ded 100644
--- a/src/managers/XWaylandManager.cpp
+++ b/src/managers/XWaylandManager.cpp
@@ -216,4 +216,6 @@ void CHyprXWaylandManager::setWindowFullscreen(CWindow* pWindow, bool fullscreen
} else {
wlr_xdg_toplevel_set_fullscreen(pWindow->m_uSurface.xdg->toplevel, fullscreen);
}
+
+ g_pEventManager->postEvent(SHyprIPCEvent("fullscreen", std::to_string((int)fullscreen)));
} \ No newline at end of file