diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-11-01 18:53:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-01 18:53:36 +0000 |
| commit | 21e9313c100e005ec2a9a5100c29258a2885546b (patch) | |
| tree | dcda791982f3aa2b3e4939be67cdda11fd7023e3 /src/Compositor.hpp | |
| parent | 7b32b4214d028a173c8192bddaa9e43503326080 (diff) | |
Core: various unsafe state improvements (#3713)
Fixes #3637
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index ae536c91..59fc9136 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -121,7 +121,8 @@ class CCompositor { bool m_bSessionActive = true; bool m_bDPMSStateON = true; bool m_bUnsafeState = false; // unsafe state is when there is no monitors. - wlr_output* m_pUnsafeOutput = nullptr; // fallback output for the unsafe state + bool m_bNextIsUnsafe = false; // because wlroots + CMonitor* m_pUnsafeOutput = nullptr; // fallback output for the unsafe state bool m_bIsShuttingDown = false; // ------------------------------------------------- // @@ -215,6 +216,7 @@ class CCompositor { void initAllSignals(); void setRandomSplash(); void initManagers(eManagersInitStage stage); + void prepareFallbackOutput(); uint64_t m_iHyprlandPID = 0; }; |
