1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-13 03:14:32 +00:00

init_Xcursor takes Window, not int for window. (#137)

`Window` is an X11 typedef for `unsigned long` (via `XID`). We should
pass it as that, not an `int`, to avoid 64 bit conversion issues.
This commit is contained in:
Bruce Mitchener
2020-12-28 14:19:30 +07:00
committed by GitHub
parent 0880b2f3dd
commit 023cf609f2
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,6 @@
#include "devif.h"
void Init_XCursor(void);
void Set_XCursor(int x, int y);
void init_Xcursor(Display *display, int window);
void init_Xcursor(Display *display, Window window);
void set_Xcursor(DspInterface dsp, unsigned char *bitmap, int hotspot_x, int hotspot_y, Cursor *return_cursor, int from_lisp);
#endif