Mercurial > emacs
comparison src/w32xfns.c @ 24917:600578f35004
(drain_message_queue): New function.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Thu, 01 Jul 1999 19:48:55 +0000 |
parents | afcb561b535d |
children | b7aa6ac26872 |
comparison
equal
deleted
inserted
replaced
24916:dcad7c5b7add | 24917:600578f35004 |
---|---|
236 | 236 |
237 leave_crit (); | 237 leave_crit (); |
238 | 238 |
239 return (TRUE); | 239 return (TRUE); |
240 } | 240 } |
241 | |
242 /* Process all messages in the current thread's queue. */ | |
243 void | |
244 drain_message_queue () | |
245 { | |
246 MSG msg; | |
247 while (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE)) | |
248 { | |
249 TranslateMessage (&msg); | |
250 DispatchMessage (&msg); | |
251 } | |
252 } | |
253 | |
241 | 254 |
242 /* | 255 /* |
243 * XParseGeometry parses strings of the form | 256 * XParseGeometry parses strings of the form |
244 * "=<width>x<height>{+-}<xoffset>{+-}<yoffset>", where | 257 * "=<width>x<height>{+-}<xoffset>{+-}<yoffset>", where |
245 * width, height, xoffset, and yoffset are unsigned integers. | 258 * width, height, xoffset, and yoffset are unsigned integers. |