28 Oct
2010
28 Oct
'10
11:58 a.m.
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