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

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 12 Aug 2002 18:10:16 +0200

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);
                                                   ^^^^

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
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:11:28 BST

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