mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
Add explicit default case
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user