diff options
author | vaxerski <[email protected]> | 2022-05-25 18:42:38 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-25 18:42:38 +0200 |
commit | d09034ee2a7445aa97a0c74a5d3da28a5118cf0e (patch) | |
tree | adb7a326108410ae560811e037491defd8c30936 | |
parent | 08d4d987cf9e25332a358667332507fb3491ce9b (diff) | |
download | Hyprland-d09034ee2a7445aa97a0c74a5d3da28a5118cf0e.tar.gz Hyprland-d09034ee2a7445aa97a0c74a5d3da28a5118cf0e.zip |
Added a fullscreen event
-rw-r--r-- | src/managers/XWaylandManager.cpp | 2 |
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 |