mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 03:55:05 +00:00
Fix bad rebase of extra mouse button
This commit is contained in:
parent
b28adab86f
commit
7ed8ae2653
1 changed files with 5 additions and 3 deletions
|
@ -664,9 +664,11 @@ input_manager_process_mouse_button(struct input_manager *im,
|
|||
if (control && event->button == SDL_BUTTON_X1) {
|
||||
action_app_switch(im->controller, action);
|
||||
return;
|
||||
}
|
||||
if (control && event->button == SDL_BUTTON_RIGHT && down) {
|
||||
expand_notification_panel(im->controller);
|
||||
}
|
||||
if (control && event->button == SDL_BUTTON_X2) {
|
||||
if(down) {
|
||||
expand_notification_panel(im->controller);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (control && event->button == SDL_BUTTON_RIGHT) {
|
||||
|
|
Loading…
Add table
Reference in a new issue