mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-30 05:58:52 -05: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))
|
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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user