mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
properly handle all mouse exit events at global mouse exit
This commit is contained in:
parent
533d4914f9
commit
c57cfdf766
1 changed files with 2 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue