I define

(defmethod glut:idle ((window glut:window))
  (swank::process-requests t))

to keep Slime responsive while the event-loop runs (when running
single-threaded)  -- which is nice enough, but a tad inelegant not
just because of the double-colon, but because it causes __every__
window to call PROCESS-REQUESTS.

I'm wondering if there should be a single global *IDLE-HOOK* (or maybe
REGISTER-IDLE-HOOK) in addition to the per-window method approach --
something which causes windows to automatically subscribe to Idle
events without registering themselves in *WINDOWS-WITH-IDLE-EVENTS*.

Cheers,

 -- Nikodemus

_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel

Reply via email to