Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 673:685b588e92d8
[xemacs-hg @ 2001-10-30 05:13:26 by andyp]
merge of windows 21.4.5 codeline
author | andyp |
---|---|
date | Tue, 30 Oct 2001 05:13:31 +0000 |
parents | fdefd0186b75 |
children | a307f9a2021d |
comparison
equal
deleted
inserted
replaced
672:42a8626b741e | 673:685b588e92d8 |
---|---|
227 { | 227 { |
228 /* Destroy events */ | 228 /* Destroy events */ |
229 CloseHandle (s->hev_thread); | 229 CloseHandle (s->hev_thread); |
230 CloseHandle (s->hev_caller); | 230 CloseHandle (s->hev_caller); |
231 CloseHandle (s->hev_unsleep); | 231 CloseHandle (s->hev_unsleep); |
232 CloseHandle (s->hpipe); | |
232 s->inuse_p = 0; | 233 s->inuse_p = 0; |
233 } | 234 } |
234 } | 235 } |
235 | 236 |
236 static struct ntpipe_slurp_stream_shared_data* | 237 static struct ntpipe_slurp_stream_shared_data* |
2833 if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd), | 2834 if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd), |
2834 keys, delta, | 2835 keys, delta, |
2835 MAKEPOINTS (lParam))) | 2836 MAKEPOINTS (lParam))) |
2836 { | 2837 { |
2837 GCPRO2 (emacs_event, fobj); | 2838 GCPRO2 (emacs_event, fobj); |
2838 mswindows_pump_outstanding_events (); /* Can GC */ | 2839 if (UNBOUNDP(mswindows_pump_outstanding_events ())) /* Can GC */ |
2840 SendMessage (hwnd, WM_CANCELMODE, 0, 0); | |
2839 UNGCPRO; | 2841 UNGCPRO; |
2840 } | 2842 } |
2841 else | 2843 else |
2842 goto defproc; | 2844 goto defproc; |
2843 break; | 2845 break; |