mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-11 16:00:46 +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
|
@ -1,3 +1,9 @@
|
|||
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/x11/XGServerWindow.m: ([imagecursor::::::]) don't flip the
|
||||
hot point coordinates ... NSCursor coordinates are already supposed
|
||||
to be flipped.
|
||||
|
||||
2007-11-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/x11/XGGeneric.h: Add atoms for new window types. Add
|
||||
|
|
|
@ -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…
Reference in a new issue