diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-29 11:24:42 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-29 11:24:42 +0200 |
| commit | fdb3f610e564c644ab0fc7fd154562258350084a (patch) | |
| tree | 9073f6d178e12d075ed95ce69368ee41a3c2751c /src/managers/XWaylandManager.cpp | |
| parent | d2e1899f2644f0b5f62275c771d6e6be24025e4f (diff) | |
Added wlr_foreign_toplevel_v1
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
| -rw-r--r-- | src/managers/XWaylandManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index 9c402419..1a2c329b 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -222,5 +222,8 @@ void CHyprXWaylandManager::setWindowFullscreen(CWindow* pWindow, bool fullscreen wlr_xdg_toplevel_set_fullscreen(pWindow->m_uSurface.xdg->toplevel, fullscreen); } + if (pWindow->m_phForeignToplevel) + wlr_foreign_toplevel_handle_v1_set_fullscreen(pWindow->m_phForeignToplevel, fullscreen); + g_pEventManager->postEvent(SHyprIPCEvent("fullscreen", std::to_string((int)fullscreen))); }
\ No newline at end of file |
