Merge pull request #4821 from cebem1nt/group-scroll-cutout

fix: owerwrite handleScroll to remove any scrolling handling from group
This commit is contained in:
Alexis Rouillard
2026-02-23 23:46:02 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class Group : public AModule {
bool handleMouseEnter(GdkEventCrossing* const& ev) override;
bool handleMouseLeave(GdkEventCrossing* const& ev) override;
bool handleToggle(GdkEventButton* const& ev) override;
bool handleScroll(GdkEventScroll* e) override;
void show_group();
void hide_group();
};

View File

@ -124,6 +124,11 @@ auto Group::update() -> void {
// noop
}
bool Group::handleScroll(GdkEventScroll* e) {
// no scroll.
return true;
}
Gtk::Box& Group::getBox() { return is_drawer ? (is_first_widget ? box : revealer_box) : box; }
void Group::addWidget(Gtk::Widget& widget) {