Initialize mouse_input_mode explicitly
The explicit initialization was missing. It had no consequences because SC_MOUSE_INPUT_MODE_INJECT == 0. Fixes #3749 <https://github.com/Genymobile/scrcpy/issues/3749>
This commit is contained in:
parent
0a151b96fe
commit
5973d4cdd7
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ const struct scrcpy_options scrcpy_options_default = {
|
|||
.codec = SC_CODEC_H264,
|
||||
.record_format = SC_RECORD_FORMAT_AUTO,
|
||||
.keyboard_input_mode = SC_KEYBOARD_INPUT_MODE_INJECT,
|
||||
.mouse_input_mode = SC_MOUSE_INPUT_MODE_INJECT,
|
||||
.port_range = {
|
||||
.first = DEFAULT_LOCAL_PORT_RANGE_FIRST,
|
||||
.last = DEFAULT_LOCAL_PORT_RANGE_LAST,
|
||||
|
|
Loading…
Reference in a new issue