Merge pull request #1561 from pvsr/0.15

Handle forward/back mouse buttons in swaybar
This commit is contained in:
Drew DeVault 2018-01-08 09:18:46 -05:00 committed by GitHub
commit 3e3014df4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,6 +136,12 @@ static void mouse_button_notify(struct window *window, int x, int y,
case BTN_RIGHT:
status_line_mouse_event(&swaybar, x, y, 3);
break;
case BTN_SIDE:
status_line_mouse_event(&swaybar, x, y, 8);
break;
case BTN_EXTRA:
status_line_mouse_event(&swaybar, x, y, 9);
break;
}
#ifdef ENABLE_TRAY