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:
Romain Vimont
2022-01-23 12:08:55 +01:00
parent 557daf280e
commit 855819bbd8
5 changed files with 37 additions and 41 deletions

View File

@@ -489,7 +489,6 @@ sc_screen_init(struct sc_screen *screen,
.screen = screen,
.kp = params->kp,
.mp = params->mp,
.control = params->control,
.forward_all_clicks = params->forward_all_clicks,
.legacy_paste = params->legacy_paste,
.clipboard_autosync = params->clipboard_autosync,