Add explicit default case

This commit is contained in:
Kovid Goyal 2018-12-26 20:39:39 +05:30
parent 64bef38813
commit 21951e3668
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -580,6 +580,8 @@ scroll_event(double UNUSED xoffset, double yoffset, int flags) {
if (window_for_momentum_scroll != w->id) return;
case 3:
window_for_momentum_scroll = 0; break;
default:
break;
}
if (is_high_resolution) {
yoffset *= OPT(touch_scroll_multiplier);