aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-25 21:35:47 +0200
committervaxerski <[email protected]>2022-08-25 21:35:47 +0200
commit0d1a9e4ba9cd8f1a6a826c99f927fbc036f3aa3c (patch)
tree5b6c50767f9dba1407e02370014b50353ae88256 /src/main.cpp
parente327b0a8354f7c967d2f701162a3138487ecd5ca (diff)
downloadHyprland-0d1a9e4ba9cd8f1a6a826c99f927fbc036f3aa3c.tar.gz
Hyprland-0d1a9e4ba9cd8f1a6a826c99f927fbc036f3aa3c.zip
modify exit behaviour a bit
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a37e993c..b131e59a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -61,7 +61,8 @@ int main(int argc, char** argv) {
// If we are here it means we got yote.
Debug::log(LOG, "Hyprland reached the end.");
- g_pCompositor->cleanup();
+ wl_display_destroy_clients(g_pCompositor->m_sWLDisplay);
+ wl_display_destroy(g_pCompositor->m_sWLDisplay);
return EXIT_SUCCESS;
}