Re: FVWM: Own mouse pointers: define hot spot?

From: Gregg Dameron <gregg.dameron_at_lmco.com>
Date: Mon, 12 Aug 2002 10:42:38 -0600

Dominik Vogt wrote:

> On Mon, Aug 12, 2002 at 11:49:54AM -0400, Dan Espen wrote:
> > Dominik Vogt <fvwm_at_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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Aug 12 2002 - 11:50:49 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST