Add keyboard shortcut to expand settings panel

PR #2260 <https://github.com/Genymobile/scrcpy/pull/2260>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
brunoais 2021-04-20 18:31:39 +02:00 committed by Romain Vimont
parent 50eecdab28
commit 6fa63cf6f8

View file

@ -524,8 +524,10 @@ input_manager_process_key(struct input_manager *im,
if (control && !repeat && down) {
if (shift) {
collapse_panels(controller);
} else {
} else if (im->key_repeat == 0) {
expand_notification_panel(controller);
} else {
expand_settings_panel(controller);
}
}
return;