Skip to content

Commit

Permalink
Merge pull request #3165 from haug1/fix/group-drawer-hover
Browse files Browse the repository at this point in the history
fix(#3162): hover event did not propagate causing issues
  • Loading branch information
Alexays authored Apr 23, 2024
2 parents 501e63f + 5b7d0a2 commit 08b0ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ bool AModule::handleMouseEnter(GdkEventCrossing* const& e) {
if (auto* module = event_box_.get_child(); module != nullptr) {
module->set_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
}
return true;
return false;
}

bool AModule::handleMouseLeave(GdkEventCrossing* const& e) {
if (auto* module = event_box_.get_child(); module != nullptr) {
module->unset_state_flags(Gtk::StateFlags::STATE_FLAG_PRELIGHT);
}
return true;
return false;
}

bool AModule::handleToggle(GdkEventButton* const& e) { return handleUserEvent(e); }
Expand Down

0 comments on commit 08b0ed1

Please sign in to comment.