Skip to content

Commit

Permalink
Fix embarrasing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dapetcu21 committed Sep 28, 2019
1 parent a26ab23 commit c969c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defos/src/defos_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ void defos_update()
if (visible != is_cursor_in_view)
{
is_cursor_in_view = visible;
defos_emit_event(current_state ? DEFOS_EVENT_MOUSE_ENTER : DEFOS_EVENT_MOUSE_LEAVE);
defos_emit_event(is_cursor_in_view ? DEFOS_EVENT_MOUSE_ENTER : DEFOS_EVENT_MOUSE_LEAVE);
}
}

Expand Down

0 comments on commit c969c2e

Please sign in to comment.