From c87efef42f76c2ff0dcfad2842ab369beffd21de Mon Sep 17 00:00:00 2001 From: marha Date: Sat, 25 Jul 2009 12:38:10 +0000 Subject: Added libX11-1.2.2.tar.gz. --- libX11/src/Cursor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libX11/src/Cursor.c') 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. 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); } -- cgit v1.2.3