Skip to content

Commit

Permalink
don't wait for evmouse if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Apr 15, 2024
1 parent acefc4f commit 2cad8b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/stream/session_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ int session_worker(session_t *session) {
session->player = NULL;

#if FEATURE_INPUT_EVMOUSE
session_evmouse_wait_ready(&session->input.evmouse);
if (!session->config.view_only && session->config.hardware_mouse) {
session_evmouse_wait_ready(&session->input.evmouse);
}
#endif

commons_log_info("Session", "Launch app %d...", appId);
Expand Down

0 comments on commit 2cad8b3

Please sign in to comment.