summaryrefslogtreecommitdiff
path: root/src/protocols/CTMControl.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-12-30 11:57:55 +0100
committervaxerski <vaxry@vaxry.net>2024-12-30 11:58:35 +0100
commit8c14c2a5f472cf3d361d3cbb90ee7d2d455aae08 (patch)
tree7c464daa3c804f9da644fb1a162c7301236d5bb2 /src/protocols/CTMControl.hpp
parentcb211d83f68542e9fbf7567d57bdf528286cbf7e (diff)
ctm: disable fade animation by default on nvidia
Fixes #8891, the nvidia driver dies when we spam CTM too much.
Diffstat (limited to 'src/protocols/CTMControl.hpp')
-rw-r--r--src/protocols/CTMControl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocols/CTMControl.hpp b/src/protocols/CTMControl.hpp
index 51820f20..dea2c258 100644
--- a/src/protocols/CTMControl.hpp
+++ b/src/protocols/CTMControl.hpp
@@ -34,6 +34,7 @@ class CHyprlandCTMControlProtocol : public IWaylandProtocol {
void destroyResource(CHyprlandCTMControlResource* resource);
void setCTM(PHLMONITOR monitor, const Mat3x3& ctm);
+ bool isCTMAnimationEnabled();
//
std::vector<SP<CHyprlandCTMControlResource>> m_vManagers;