summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-28 19:18:13 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-28 19:18:13 +0000
commit7beb9fd606106e82554c7050aebbc5ca23dafa79 (patch)
treef61bc10e0e1c90b468b58b4127717a700d740dfe /src/hyprerror/HyprError.hpp
parent4d3f2ca96b006fe9fd27de7f1bd4d317ad732762 (diff)
Draw HyprError on the last monitor
Diffstat (limited to 'src/hyprerror/HyprError.hpp')
-rw-r--r--src/hyprerror/HyprError.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hyprerror/HyprError.hpp b/src/hyprerror/HyprError.hpp
index 26f90e40..ff4e8577 100644
--- a/src/hyprerror/HyprError.hpp
+++ b/src/hyprerror/HyprError.hpp
@@ -24,6 +24,8 @@ class CHyprError {
CTexture m_tTexture;
CAnimatedVariable m_fFadeOpacity;
wlr_box m_bDamageBox = {0, 0, 0, 0};
+
+ bool m_bMonitorChanged = false;
};
inline std::unique_ptr<CHyprError> g_pHyprError; // This is a full-screen error. Treat it with respect, and there can only be one at a time. \ No newline at end of file