mirror of https://github.com/Genymobile/scrcpy
fixup! Handle all shortcuts in the same function
This commit is contained in:
parent
0a70e24e80
commit
d73dee9833
|
@ -407,6 +407,9 @@ static void handle_key(const SDL_KeyboardEvent *event) {
|
||||||
case SDLK_g:
|
case SDLK_g:
|
||||||
handle_shortcut('g');
|
handle_shortcut('g');
|
||||||
return;
|
return;
|
||||||
|
case SDLK_h:
|
||||||
|
handle_shortcut('h');
|
||||||
|
return;
|
||||||
case SDLK_b: // fall-through
|
case SDLK_b: // fall-through
|
||||||
case SDLK_BACKSPACE:
|
case SDLK_BACKSPACE:
|
||||||
handle_shortcut('b');
|
handle_shortcut('b');
|
||||||
|
|
Loading…
Reference in New Issue