michaelforney / swc

a library for making a simple Wayland compositor
MIT License
627 stars 53 forks source link

Add support for newer libinput #12

Closed jezze closed 10 years ago

jezze commented 10 years ago

This is only an example of what I had to change in order to make it compile properly with my 0.2.0 version of libinput that came with Arch Linux. You should probably not accept this as it is because I have not even tried it out properly yet.

jezze commented 10 years ago

Can confirm that it seems to be working now. I ran swc-launch ./wm and from inside the window manager i used SUPER+ENTER and it started st-wl (which I also took from your st port on github).

michaelforney commented 10 years ago

Thanks for the pull request, but this is actually an older version than is supported. I will update the Makefile to check for libinput >= 0.4.