mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 13:03:52 +00:00
Removed broken RandR event selection.
This commit is contained in:
parent
4ab93ee155
commit
dad152b3f6
@ -858,16 +858,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
||||
if (!createWindow(window, wndconfig))
|
||||
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)
|
||||
{
|
||||
_glfwPlatformShowWindow(window);
|
||||
|
Loading…
Reference in New Issue
Block a user