mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +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
|
@ -665,8 +665,10 @@ input_manager_process_mouse_button(struct input_manager *im,
|
||||||
action_app_switch(im->controller, action);
|
action_app_switch(im->controller, action);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (control && event->button == SDL_BUTTON_RIGHT && down) {
|
if (control && event->button == SDL_BUTTON_X2) {
|
||||||
|
if(down) {
|
||||||
expand_notification_panel(im->controller);
|
expand_notification_panel(im->controller);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (control && event->button == SDL_BUTTON_RIGHT) {
|
if (control && event->button == SDL_BUTTON_RIGHT) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue