diff options
Diffstat (limited to 'libX11/src/Cursor.c')
-rw-r--r-- | libX11/src/Cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/Cursor.c b/libX11/src/Cursor.c index 76ac3be73..4bacfc970 100644 --- a/libX11/src/Cursor.c +++ b/libX11/src/Cursor.c @@ -37,7 +37,7 @@ Cursor XCreateFontCursor( Display *dpy, unsigned int which) { - /* + /* * the cursor font contains the shape glyph followed by the mask * glyph; so character position 0 contains a shape, 1 the mask for 0, * 2 a shape, etc. <X11/cursorfont.h> contains hash define names @@ -49,7 +49,7 @@ Cursor XCreateFontCursor( if (dpy->cursor_font == None) return None; } - return XCreateGlyphCursor (dpy, dpy->cursor_font, dpy->cursor_font, + return XCreateGlyphCursor (dpy, dpy->cursor_font, dpy->cursor_font, which, which + 1, &foreground, &background); } |