Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Wayland on FreeBSD and other OSes #1235

Merged
merged 1 commit into from
Mar 27, 2018

Conversation

valpackett
Copy link
Contributor

re: #1219.

Mostly just ifdefs Linux joystick support to Linux. I also added linking to libepoll-shim in CMake though.

BTW, any plans for selecting between Wayland and X11 dynamically (on the fly) like the big toolkits (incl. SDL) do? Some projects are already implementing this by themselves — by building two copies of bundled glfw and dlopen'ing one of them depending on the desired backend…

@linkmauve
Copy link
Member

Selecting the backend dynamically depends on #1174 (and similar ones for X11), after which we will have to move _glfwPlatform* functions to be static and put into a “backend struct” which every function will call into.

That probably won’t end up in 3.3, but is definitely planned.

And LGTM, I also tested on Linux and found no regression, so I’ll merge it. :)

@linkmauve linkmauve merged commit 0a3c4f5 into glfw:master Mar 27, 2018
@elmindreda elmindreda added this to the 3.3 milestone May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants