[EMAIL PROTECTED] (Christoph Egger) writes:
> Hi!
>
>
> 1. Question:
>
> To create a text-cursor, should I use XCreateFontCursor() or
> XCreateGlyphCursor() ?
"text-cursor" ?
You should use neither - XCreatePixmapCursor() is what you'll want
to use. Having pre-defined cursors doesn't really belong in LibOVL.
> 2. Question:
>
> The X-target from libggi already creates a mouse-cursor. Should I
> close and reopen it at allocating time to change e.g. the
> image of the mouse-cursor?
Don't do anything to the cursor created by LibGGI, simply make a new
one and use XDefineCursor(). That is much less intrusive on LibGGI.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 452062
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]