summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 60682ae3a1a..6b93afa8b8d 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4414,6 +4414,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
goto dflt;
}
/* Fall through */
+ FALLTHROUGH;
case WM_SYSCHAR:
case WM_CHAR:
@@ -4676,6 +4677,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (w32_pass_extra_mouse_buttons_to_system)
goto dflt;
/* else fall through and process them. */
+ FALLTHROUGH;
case WM_MBUTTONDOWN:
case WM_MBUTTONUP:
handle_plain_button:
@@ -4781,6 +4783,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
track_mouse_event_fn (&tme);
track_mouse_window = hwnd;
}
+ FALLTHROUGH;
case WM_HSCROLL:
case WM_VSCROLL:
if (w32_mouse_move_interval <= 0
@@ -4822,6 +4825,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (w32_pass_multimedia_buttons_to_system)
goto dflt;
/* Otherwise, pass to lisp, the same way we do with mousehwheel. */
+ FALLTHROUGH;
/* FIXME!!! This is never reached so what's the purpose? If the
non-zero return remark below is right we're doing it wrong all
@@ -5084,6 +5088,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_MOUSELEAVE:
/* No longer tracking mouse. */
track_mouse_window = NULL;
+ FALLTHROUGH;
case WM_ACTIVATEAPP:
case WM_ACTIVATE:
@@ -5124,6 +5129,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
menu_free_timer = 0;
}
}
+ FALLTHROUGH;
case WM_MOVE:
case WM_SIZE:
command:
@@ -5162,6 +5168,7 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
fails (see bug#25875). But if it fails, we want to find out
about it, so let's leave 1000 for now. */
sleep (1000);
+ FALLTHROUGH;
case WM_WINDOWPOSCHANGING:
/* Don't restrict the sizing of any kind of frames. If the window