mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Fix incorrect porting of XCreateFontCursor()
This commit is contained in:
parent
6db3cd48d8
commit
fa5bc02103
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue