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

@ -664,9 +664,11 @@ input_manager_process_mouse_button(struct input_manager *im,
if (control && event->button == SDL_BUTTON_X1) { if (control && event->button == SDL_BUTTON_X1) {
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) {
expand_notification_panel(im->controller); if(down) {
expand_notification_panel(im->controller);
}
return; return;
} }
if (control && event->button == SDL_BUTTON_RIGHT) { if (control && event->button == SDL_BUTTON_RIGHT) {