tearing-control: hyprland impl (#5655)

* tearing: hl impl

* format
This commit is contained in:
Vaxry
2024-04-19 22:16:35 +01:00
committed by GitHub
parent 1016faea53
commit b52a49b4c4
14 changed files with 207 additions and 74 deletions

View File

@@ -329,17 +329,6 @@ struct SSwitchDevice {
}
};
struct STearingController {
wlr_tearing_control_v1* pWlrHint = nullptr;
DYNLISTENER(set);
DYNLISTENER(destroy);
bool operator==(const STearingController& other) const {
return pWlrHint == other.pWlrHint;
}
};
struct SShortcutInhibitor {
wlr_keyboard_shortcuts_inhibitor_v1* pWlrInhibitor = nullptr;