mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 03:55:05 +00:00
Only call to expand_notification_panel when button is pressed (not released)
This commit is contained in:
parent
fd9a218828
commit
b1af70e044
1 changed files with 3 additions and 1 deletions
|
@ -666,7 +666,9 @@ input_manager_process_mouse_button(struct input_manager *im,
|
|||
return;
|
||||
}
|
||||
if (control && event->button == SDL_BUTTON_X2) {
|
||||
expand_notification_panel(im->controller);
|
||||
if(down) {
|
||||
expand_notification_panel(im->controller);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue