Dominik Vogt wrote:

> On Mon, Aug 12, 2002 at 11:49:54AM -0400, Dan Espen wrote:
> > Dominik Vogt <fvwm@fvwm.org> writes:
> > > Could you put that in the FAQ?
> >
> > Sure.
> >
> > I haven't checked that Fvwm actually uses the hotspot if defined.
> > I'll check if you haven't done so already.
>
> As far as I remember, I implemented hotspot handling with the
> pixmap cursors a while ago.  From cursors.c:
>
>   if (!PImageLoadCursorPixmapFromFile(
>     dpy, Scr.Root, path, &source, &mask, &x, &y))
>                                          ^^^^^^ hotspot coords
>   ...
>   Scr.FvwmCursors[index] = XCreatePixmapCursor(
>     dpy, source, mask, &(colors[0]), &(colors[1]), x, y);
>                                                    ^^^^
>

I can confirm that fvwm (2.4.7) honors cursor hotspots.  On Solaris, I
use the "dticon" utility to create most of the cursors I use.  Dticon
lets you set a cursor's hotspot with a mouse click on its enlarged image.

Gregg Dameron


--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to