diff options
| author | Jason Rumney | 2006-04-26 17:54:41 +0000 |
|---|---|---|
| committer | Jason Rumney | 2006-04-26 17:54:41 +0000 |
| commit | f5f69b6b4786851f34a0facccbfe911482706814 (patch) | |
| tree | 825b42458d59a65851ebf62c609bc7595206f085 /src | |
| parent | 7d6f8c685e62b2105ad7eb1eca3a4d00d545ee14 (diff) | |
| download | emacs-f5f69b6b4786851f34a0facccbfe911482706814.tar.gz emacs-f5f69b6b4786851f34a0facccbfe911482706814.zip | |
(w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>:
<WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases
where we preempt mouse_button_timer.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 093739d1603..609a88debbd 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -3190,6 +3190,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) | |||
| 3190 | } | 3190 | } |
| 3191 | wmsg.dwModifiers = w32_get_modifiers (); | 3191 | wmsg.dwModifiers = w32_get_modifiers (); |
| 3192 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); | 3192 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); |
| 3193 | signal_user_input (); | ||
| 3193 | 3194 | ||
| 3194 | /* Clear message buffer. */ | 3195 | /* Clear message buffer. */ |
| 3195 | saved_mouse_button_msg.msg.hwnd = 0; | 3196 | saved_mouse_button_msg.msg.hwnd = 0; |
| @@ -3247,6 +3248,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) | |||
| 3247 | } | 3248 | } |
| 3248 | wmsg.dwModifiers = w32_get_modifiers (); | 3249 | wmsg.dwModifiers = w32_get_modifiers (); |
| 3249 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); | 3250 | my_post_msg (&wmsg, hwnd, msg, wParam, lParam); |
| 3251 | signal_user_input (); | ||
| 3250 | 3252 | ||
| 3251 | /* Always clear message buffer and cancel timer. */ | 3253 | /* Always clear message buffer and cancel timer. */ |
| 3252 | saved_mouse_button_msg.msg.hwnd = 0; | 3254 | saved_mouse_button_msg.msg.hwnd = 0; |