mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-28 19:58:55 +00:00
Remove redundant control boolean
The controller is NULL if and only if control is disabled, so an additional control boolean is redundant.
This commit is contained in:
parent
557daf280e
commit
855819bbd8
5 changed files with 37 additions and 41 deletions
|
@ -22,7 +22,6 @@ struct sc_input_manager {
|
|||
struct sc_key_processor *kp;
|
||||
struct sc_mouse_processor *mp;
|
||||
|
||||
bool control;
|
||||
bool forward_all_clicks;
|
||||
bool legacy_paste;
|
||||
bool clipboard_autosync;
|
||||
|
@ -51,7 +50,6 @@ struct sc_input_manager_params {
|
|||
struct sc_key_processor *kp;
|
||||
struct sc_mouse_processor *mp;
|
||||
|
||||
bool control;
|
||||
bool forward_all_clicks;
|
||||
bool legacy_paste;
|
||||
bool clipboard_autosync;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue