Mercurial > emacs
changeset 70233:589489bb1924
(w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>:
<WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases
where we preempt mouse_button_timer.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 26 Apr 2006 17:54:41 +0000 |
parents | a7c55a32db8b |
children | 4282b2a1849b |
files | src/w32fns.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32fns.c Wed Apr 26 17:54:06 2006 +0000 +++ b/src/w32fns.c Wed Apr 26 17:54:41 2006 +0000 @@ -3190,6 +3190,7 @@ } wmsg.dwModifiers = w32_get_modifiers (); my_post_msg (&wmsg, hwnd, msg, wParam, lParam); + signal_user_input (); /* Clear message buffer. */ saved_mouse_button_msg.msg.hwnd = 0; @@ -3247,6 +3248,7 @@ } wmsg.dwModifiers = w32_get_modifiers (); my_post_msg (&wmsg, hwnd, msg, wParam, lParam); + signal_user_input (); /* Always clear message buffer and cancel timer. */ saved_mouse_button_msg.msg.hwnd = 0;