properly handle all mouse exit events at global mouse exit

This commit is contained in:
Felix Kratz 2024-02-23 12:03:51 +01:00
parent 533d4914f9
commit c57cfdf766

View file

@ -797,9 +797,8 @@ 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;
}
bar_manager_handle_mouse_exited(bar_manager, NULL);
}
void bar_manager_handle_mouse_scrolled_global(struct bar_manager* bar_manager, int scroll_delta, uint32_t adid) {