`wmouse_trafo` should take a `*const WINDOW`
czipperz opened this issue · 2 comments
czipperz commented
If you look up wmouse_trafo
, you will see that it should take a const WINDOW*
https://linux.die.net/man/3/mouse_trafo. Here are the places that take it mutably:
Line 378 in 5cefed9
Line 1997 in 5cefed9
czipperz commented
I believe the correct thing to do is replace *mut WINDOW
with just WINDOW
as used in the other functions in these files.
jeaye commented
Thanks! This is now published.