Skip to content

Commit

Permalink
fix(#3162): hover event did not propagate causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
haug1 committed Apr 23, 2024
1 parent 501e63f commit 5b7d0a2
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 5b7d0a2

Please sign in to comment.