mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +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:
parent
0880b2f3dd
commit
023cf609f2
@ -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
|
||||
|
||||
@ -149,7 +149,7 @@ void Set_XCursor(int x, int y)
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
void init_Xcursor(Display *display, int window)
|
||||
void init_Xcursor(Display *display, Window window)
|
||||
{
|
||||
TPRINT(("TRACE: init_Xcursor()\n"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user