From fa5bc02103055ac588df70a72ee3ee1095110163 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Thu, 27 Mar 2008 05:19:29 +0000 Subject: [PATCH] Fix incorrect porting of XCreateFontCursor() --- awesome.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awesome.c b/awesome.c index 418238b21..05f068f61 100644 --- a/awesome.c +++ b/awesome.c @@ -165,13 +165,13 @@ create_font_cursor(unsigned int cursor_font) /* Get the font for the cursor*/ font = xcb_generate_id(globalconf.connection); - xcb_open_font(globalconf.connection, font, strlen ("cursor"), "cursor"); + xcb_open_font(globalconf.connection, font, strlen("cursor"), "cursor"); cursor = xcb_generate_id(globalconf.connection); xcb_create_glyph_cursor (globalconf.connection, cursor, font, font, cursor_font, cursor_font + 1, 0, 0, 0, - 0, 0, 0); + 65535, 65535, 65535); return cursor; }