On Mon, 27 Oct 2008 23:15:05 +0800 Lave <lave wang w gmail com> wrote: > If I can query the cursor(not mouse)'s position, I can deal it with > the same way, but I can't. How can I do this? Or, is there another > solution? I don't believe X has such a concept as the text input cursor. That's drawn by the windowing toolkit in question (GTK, Qt, etc... ) As such it can't know where it is. -- Paul "LeoNerd" Evans leonerd leonerd org uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/
Attachment:
signature.asc
Description: PGP signature