1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Removed broken RandR event selection.

This commit is contained in:
Camilla Berglund 2013-01-03 21:07:11 +01:00
parent 4ab93ee155
commit dad152b3f6

View File

@ -858,16 +858,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
if (!createWindow(window, wndconfig)) if (!createWindow(window, wndconfig))
return GL_FALSE; return GL_FALSE;
#if defined(_GLFW_HAS_XRANDR)
// Request screen change notifications
if (_glfw.x11.randr.available)
{
XRRSelectInput(_glfw.x11.display,
window->x11.handle,
RRScreenChangeNotifyMask);
}
#endif /*_GLFW_HAS_XRANDR*/
if (wndconfig->monitor) if (wndconfig->monitor)
{ {
_glfwPlatformShowWindow(window); _glfwPlatformShowWindow(window);