diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-09-17 14:03:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 14:03:49 +0200 |
| commit | 1cb8cd3930e2c8410bbc99baa0a5bea91994bd71 (patch) | |
| tree | d6bf2df91a6f67a32985ee05a087eaead6b3d530 /src/helpers/Monitor.hpp | |
| parent | 7fd6998f7c858c731bcbcbf255d2946cb0d79a3b (diff) | |
solitary: fix check for config error (#11733)
Adds a blocker for solitary optimizations if there is a hyprerror present
Diffstat (limited to 'src/helpers/Monitor.hpp')
| -rw-r--r-- | src/helpers/Monitor.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp index 5400fd97..542207b6 100644 --- a/src/helpers/Monitor.hpp +++ b/src/helpers/Monitor.hpp @@ -235,7 +235,7 @@ class CMonitor { }; // keep in sync with HyprCtl - enum eSolitaryCheck : uint16_t { + enum eSolitaryCheck : uint32_t { SC_OK = 0, SC_UNKNOWN = (1 << 0), @@ -254,8 +254,9 @@ class CMonitor { SC_FLOAT = (1 << 13), SC_WORKSPACES = (1 << 14), SC_SURFACES = (1 << 15), + SC_ERRORBAR = (1 << 16), - SC_CHECKS_COUNT = 16, + SC_CHECKS_COUNT = 17, }; // keep in sync with HyprCtl @@ -297,7 +298,7 @@ class CMonitor { WORKSPACEID activeSpecialWorkspaceID(); CBox logicalBox(); void scheduleDone(); - uint16_t isSolitaryBlocked(bool full = false); + uint32_t isSolitaryBlocked(bool full = false); void recheckSolitary(); uint8_t isTearingBlocked(bool full = false); bool updateTearing(); |
