mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +01:00
main: set isShuttingDown after display dispatch reaches the end
relates to #3558
This commit is contained in:
parent
29e0a7112e
commit
47654a84c2
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue