Vladar4 / sdl2_nim

Wrapper of the SDL 2 library for the Nim language.
Other
145 stars 24 forks source link

Incorrect reference to x and xlib #22

Closed 0xE111 closed 5 years ago

0xE111 commented 5 years ago

In sdl_syswm.nim there is an import x, xlib which raises an exception: https://github.com/Vladar4/sdl2_nim/blob/master/sdl2/sdl_syswm.nim#L46

I suppose it should be import x11/x, x11/xlib?

Vladar4 commented 5 years ago

Yep, it seems compatibility was broken in x11 v1.1. Fixed in aa831b03068c5c3dc71f3971ad0e2c3418af7717 Thanks!