Fixup coordinated of cursor hotpoint for MacOS-X compatibility.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25631 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-11-29 11:34:41 +00:00
parent b5fc3678f3
commit ff99e19fe9
2 changed files with 7 additions and 1 deletions

View file

@ -4010,7 +4010,7 @@ xgps_cursor_image(Display *xdpy, Drawable draw, const unsigned char *data,
fg = [self xColorFromColor: fg forScreen: defScreen];
cursor = XCreatePixmapCursor(dpy, source, mask, &fg, &bg,
(int)hotp.x, (int)(h - hotp.y));
(int)hotp.x, (int)hotp.y);
XFreePixmap(dpy, source);
XFreePixmap(dpy, mask);
if (cid)