Added a fullscreen event

This commit is contained in:
vaxerski 2022-05-25 18:42:38 +02:00
parent 08d4d987cf
commit d09034ee2a

View file

@ -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)));
}