Add explicit default case
This commit is contained in:
parent
64bef38813
commit
21951e3668
@ -580,6 +580,8 @@ scroll_event(double UNUSED xoffset, double yoffset, int flags) {
|
|||||||
if (window_for_momentum_scroll != w->id) return;
|
if (window_for_momentum_scroll != w->id) return;
|
||||||
case 3:
|
case 3:
|
||||||
window_for_momentum_scroll = 0; break;
|
window_for_momentum_scroll = 0; break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (is_high_resolution) {
|
if (is_high_resolution) {
|
||||||
yoffset *= OPT(touch_scroll_multiplier);
|
yoffset *= OPT(touch_scroll_multiplier);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user