Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 245:51092a27c943 r20-5b21
Import from CVS: tag r20-5b21
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:17:54 +0200 |
parents | 41f2f0e326e9 |
children | 83b3d10dcba9 |
comparison
equal
deleted
inserted
replaced
244:78d4f1140794 | 245:51092a27c943 |
---|---|
79 int mswindows_button2_max_skew_x; | 79 int mswindows_button2_max_skew_x; |
80 int mswindows_button2_max_skew_y; | 80 int mswindows_button2_max_skew_y; |
81 int mswindows_button2_chord_time; | 81 int mswindows_button2_chord_time; |
82 | 82 |
83 /* Number of wait handles */ | 83 /* Number of wait handles */ |
84 static mswindows_waitable_count=0; | 84 static int mswindows_waitable_count=0; |
85 | 85 |
86 /* This is the event signaled by the event pump. | 86 /* This is the event signaled by the event pump. |
87 See mswindows_pump_outstanding_events for comments */ | 87 See mswindows_pump_outstanding_events for comments */ |
88 static Lisp_Object mswindows_error_caught_in_modal_loop; | 88 static Lisp_Object mswindows_error_caught_in_modal_loop; |
89 static int mswindows_in_modal_loop; | 89 static int mswindows_in_modal_loop; |
319 } | 319 } |
320 | 320 |
321 /* | 321 /* |
322 * Find a free waitable slot | 322 * Find a free waitable slot |
323 */ | 323 */ |
324 #if 0 /* NOTUSED */ | |
324 static int | 325 static int |
325 mswindows_find_free_waitable(void) | 326 mswindows_find_free_waitable(void) |
326 { | 327 { |
327 int i; | 328 int i; |
328 for (i=0; i<mswindows_waitable_count; i++) | 329 for (i=0; i<mswindows_waitable_count; i++) |
329 if (mswindows_waitable_info[i].type == mswindows_waitable_type_none) | 330 if (mswindows_waitable_info[i].type == mswindows_waitable_type_none) |
330 return i; | 331 return i; |
331 assert (mswindows_waitable_count < MAX_WAITABLE); | 332 assert (mswindows_waitable_count < MAX_WAITABLE); |
332 return mswindows_waitable_count++; | 333 return mswindows_waitable_count++; |
333 } | 334 } |
335 #endif | |
334 | 336 |
335 /* | 337 /* |
336 * Create a new waitable using the type and data passed in by the info structure | 338 * Create a new waitable using the type and data passed in by the info structure |
337 * Returns a pointer to the info associated with the assigned waitable object | 339 * Returns a pointer to the info associated with the assigned waitable object |
338 */ | 340 */ |