[mcclim-devel] Interactor pane, hollow cursor?

Rudi Schlatte rudi at constantly.at
Tue Dec 6 23:02:37 UTC 2005


On 6. Dez 2005, at 04:33, Andy Hefner wrote:

> Why does the text cursor within interactor panes now appear hollow, as
> though you were not typing to the interactor?

That would be because I suck :(
I added behaviour to ports.lisp/(setf port-keyboard-input-focus) that  
toggles hollowness of cursors when the keyboard focus changes, which  
works nicely for text-fields and text-areas.

I didn't check the behaviour for stream panes before checking it in,  
and before real life intervened, I unsuccessfully tried to find the  
"real" cursor object for them.
I suspect the cursor that is really drawn belongs to some Goatee  
instance inside the stream; witness the comment in frames.lisp/ 
default-frame-top-level:
                  ;; We don't need to turn the cursor on here, as  
Goatee has its own
                  ;; cursor which will appear. In fact, leaving it on  
causes much
                  ;; bit flipping and slows command output somewhat.  
So, leave it
                  ;; off by default, and hope this doesn't violate  
the spec.
But I got lost inside a maze of objects.

Rudi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20051207/b16b4a0a/attachment.sig>


More information about the mcclim-devel mailing list