mirror of
https://github.com/glfw/glfw.git
synced 2024-11-21 12:34:36 +00:00
Fixup: Fixup
This commit is contained in:
parent
e07f0c9b6b
commit
c702cdd1c8
@ -627,9 +627,9 @@ static GLFWbool initExtensions(void)
|
||||
if (_glfw.x11.xss.handle)
|
||||
{
|
||||
_glfw.x11.xss.QueryExtension = (PFN_XScreenSaverQueryExtension)
|
||||
dlsym(_glfw.x11.xss.handle, "XScreenSaverQueryExtension");
|
||||
_glfw_dlsym(_glfw.x11.xss.handle, "XScreenSaverQueryExtension");
|
||||
_glfw.x11.xss.Suspend = (PFN_XScreenSaverSuspend)
|
||||
dlsym(_glfw.x11.xss.handle, "XScreenSaverSuspend");
|
||||
_glfw_dlsym(_glfw.x11.xss.handle, "XScreenSaverSuspend");
|
||||
|
||||
if (XScreenSaverQueryExtension(_glfw.x11.display,
|
||||
&_glfw.x11.xss.eventBase,
|
||||
@ -1080,6 +1080,12 @@ void _glfwPlatformTerminate(void)
|
||||
_glfw.x11.xinerama.handle = NULL;
|
||||
}
|
||||
|
||||
if (_glfw.x11.xss.handle)
|
||||
{
|
||||
_glfw_dlclose(_glfw.x11.xss.handle);
|
||||
_glfw.x11.xss.handle = NULL;
|
||||
}
|
||||
|
||||
if (_glfw.x11.dbus.session)
|
||||
{
|
||||
dbus_connection_close(_glfw.x11.dbus.session);
|
||||
|
Loading…
Reference in New Issue
Block a user