lift flag on global event

This commit is contained in:
Felix Kratz 2023-11-16 17:25:48 +01:00
parent 7f6ecdfd97
commit e2456e2bdd

View file

@ -790,6 +790,9 @@ void bar_manager_handle_mouse_exited_global(struct bar_manager* bar_manager) {
bar_manager_custom_events_trigger(bar_manager,
COMMAND_SUBSCRIBE_MOUSE_EXITED_GLOBAL,
NULL );
for (int i = 0; i < bar_manager->bar_item_count; i++) {
bar_manager->bar_items[i]->mouse_over = false;
}
}
void bar_manager_handle_mouse_scrolled_global(struct bar_manager* bar_manager, int scroll_delta, uint32_t adid) {