aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/WLClasses.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/WLClasses.hpp')
-rw-r--r--src/helpers/WLClasses.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index c340a516..dde1ee5d 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -349,3 +349,14 @@ struct SSwitchDevice {
return pWlrDevice == other.pWlrDevice;
}
};
+
+struct STearingController {
+ wlr_tearing_control_v1* pWlrHint = nullptr;
+
+ DYNLISTENER(set);
+ DYNLISTENER(destroy);
+
+ bool operator==(const STearingController& other) {
+ return pWlrHint == other.pWlrHint;
+ }
+};