diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index e7a4bb3d5ed..aeb4183393b 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -3383,16 +3383,20 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) | |||
| 3383 | return 0; | 3383 | return 0; |
| 3384 | 3384 | ||
| 3385 | case WM_MOUSEWHEEL: | 3385 | case WM_MOUSEWHEEL: |
| 3386 | case WM_DROPFILES: | ||
| 3386 | wmsg.dwModifiers = w32_get_modifiers (); | 3387 | wmsg.dwModifiers = w32_get_modifiers (); |
| 3387 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); | 3388 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); |
| 3388 | signal_user_input (); | 3389 | signal_user_input (); |
| 3389 | return 0; | 3390 | return 0; |
| 3390 | 3391 | ||
| 3391 | case WM_DROPFILES: | 3392 | case WM_MOUSEHWHEEL: |
| 3392 | wmsg.dwModifiers = w32_get_modifiers (); | 3393 | wmsg.dwModifiers = w32_get_modifiers (); |
| 3393 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); | 3394 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); |
| 3394 | signal_user_input (); | 3395 | signal_user_input (); |
| 3395 | return 0; | 3396 | /* Non-zero must be returned when WM_MOUSEHWHEEL messages are |
| 3397 | handled, to prevent the system trying to handle it by faking | ||
| 3398 | scroll bar events. */ | ||
| 3399 | return 1; | ||
| 3396 | 3400 | ||
| 3397 | case WM_TIMER: | 3401 | case WM_TIMER: |
| 3398 | /* Flush out saved messages if necessary. */ | 3402 | /* Flush out saved messages if necessary. */ |
| @@ -7238,7 +7242,7 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 7238 | Vx_resource_name = Vinvocation_name; | 7242 | Vx_resource_name = Vinvocation_name; |
| 7239 | 7243 | ||
| 7240 | #ifdef MULTI_KBOARD | 7244 | #ifdef MULTI_KBOARD |
| 7241 | kb = dpyinfo->kboard; | 7245 | kb = dpyinfo->terminal->kboard; |
| 7242 | #else | 7246 | #else |
| 7243 | kb = &the_only_kboard; | 7247 | kb = &the_only_kboard; |
| 7244 | #endif | 7248 | #endif |