diff --git a/src/x11_monitor.c b/src/x11_monitor.c index de3287cd..48d47b4a 100644 --- a/src/x11_monitor.c +++ b/src/x11_monitor.c @@ -111,6 +111,9 @@ void _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired) } } + if (bestMode == ci->mode) + return; + if (monitor->x11.oldMode == None) monitor->x11.oldMode = ci->mode;