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

unable to use original GLFW library. #58

Open
ykne opened this issue Apr 17, 2018 · 2 comments
Open

unable to use original GLFW library. #58

ykne opened this issue Apr 17, 2018 · 2 comments

Comments

@ykne
Copy link

ykne commented Apr 17, 2018

Function glfwSetRoot does not appear in glfw.org documentation, API section, GLFW header files and in gflw source code, however it is present in external/linux/x64/libglfw3.a
What is it?

@lieff
Copy link

lieff commented Apr 25, 2018

I think this function is to address glfw/glfw#1094
glfw creates windows using _glfw.x11.root root, and no way to set parent. So, it must be something like:

void glfwSetRoot(Window root)
{
    _glfw.x11.root = root;
}

may be it's one of forks.

@ykne
Copy link
Author

ykne commented Apr 25, 2018

Thanks for the hint. It is a pity that developers did not provide modified source as required by Open Source ideology...
@lieff even more, glfw3.h is not available so code does not compile unless system glfw development package is installed.

external]$ find . -name '*glfw*'
./linux/x64/libglfw3.a
./linux/libglfw3.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants