mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
main: set isShuttingDown after display dispatch reaches the end
relates to #3558
This commit is contained in:
@@ -104,6 +104,8 @@ int main(int argc, char** argv) {
|
|||||||
// If all's good to go, start.
|
// If all's good to go, start.
|
||||||
g_pCompositor->startCompositor();
|
g_pCompositor->startCompositor();
|
||||||
|
|
||||||
|
g_pCompositor->m_bIsShuttingDown = true;
|
||||||
|
|
||||||
// If we are here it means we got yote.
|
// If we are here it means we got yote.
|
||||||
Debug::log(LOG, "Hyprland reached the end.");
|
Debug::log(LOG, "Hyprland reached the end.");
|
||||||
g_pCompositor.reset();
|
g_pCompositor.reset();
|
||||||
|
Reference in New Issue
Block a user