Fix bad rebase of extra mouse button

This commit is contained in:
brunoais 2021-04-17 17:36:10 +01:00
commit 7ed8ae2653

View file

@ -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) {