1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51: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

@@ -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"));