mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 15:05:59 +01:00
destroy monitor resources on exit
This commit is contained in:
parent
52318692f0
commit
e97fa4e26b
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ void CCompositor::cleanup() {
|
|||
m_vWorkspaces.clear();
|
||||
m_vWindows.clear();
|
||||
|
||||
for (auto& m : m_vMonitors)
|
||||
g_pHyprOpenGL->destroyMonitorResources(m.get());
|
||||
|
||||
if (g_pXWaylandManager->m_sWLRXWayland) {
|
||||
wlr_xwayland_destroy(g_pXWaylandManager->m_sWLRXWayland);
|
||||
g_pXWaylandManager->m_sWLRXWayland = nullptr;
|
||||
|
|
Loading…
Reference in a new issue