diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index 624625af..b307191c 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -391,7 +391,7 @@ struct STearingController { DYNLISTENER(set); DYNLISTENER(destroy); - bool operator==(const STearingController& other) { + bool operator==(const STearingController& other) const { return pWlrHint == other.pWlrHint; } }; @@ -401,7 +401,7 @@ struct SShortcutInhibitor { DYNLISTENER(destroy); - bool operator==(const SShortcutInhibitor& other) { + bool operator==(const SShortcutInhibitor& other) const { return pWlrInhibitor == other.pWlrInhibitor; } };