icqdesktop.deprecated icon indicating copy to clipboard operation
icqdesktop.deprecated copied to clipboard

unable to use original GLFW library.

Open ykne opened this issue 6 years ago • 2 comments

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?

ykne avatar Apr 17 '18 23:04 ykne

I think this function is to address https://github.com/glfw/glfw/pull/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.

lieff avatar Apr 25 '18 15:04 lieff

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

ykne avatar Apr 25 '18 22:04 ykne