mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 08:51:03 +00:00
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:
parent
b5fc3678f3
commit
ff99e19fe9
2 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue