|
From: | grischka |
Subject: | Re: [PATCH] system-type cygwin with window-system w32 |
Date: | Mon, 18 Jul 2011 20:52:22 +0200 |
User-agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
Daniel Colascione wrote:
This requirement is incompatible with using lisp code to render clipboard content: we might have received a window message at an inopportune time for calling back into Lisp, and we can't delay the response to WM_RENDERFORMAT by re-queuing or somesuch. Today's NT clipboard code doesn't have to address the issue because it never calls into Lisp.
Well, you can do this if you have a function to pump elisp events, say drain_lisp_queue(): That would be basically command_loop_1() with while (1) replaced by while (detect_input_pending()) Then, in window_proc: case WM_RENDERFORMAT: queue_lisp_event(); //I guess it's "kbd_buffer_store_event_hold" drain_lisp_queue(); break; Or such. --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |