mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Moved to use X11 context manager.
This commit is contained in:
@@ -434,6 +434,7 @@ static GLboolean initDisplay(void)
|
||||
|
||||
_glfw.x11.screen = DefaultScreen(_glfw.x11.display);
|
||||
_glfw.x11.root = RootWindow(_glfw.x11.display, _glfw.x11.screen);
|
||||
_glfw.x11.context = XUniqueContext();
|
||||
|
||||
// Find or create window manager atoms
|
||||
_glfw.x11.WM_STATE = XInternAtom(_glfw.x11.display, "WM_STATE", False);
|
||||
|
||||
Reference in New Issue
Block a user