• Camilla Löwy's avatar
    X11: Fix BadMatch focusing a window on non-EWMH WM · 487e0419
    Camilla Löwy authored
    When the WM does not support EWMH or there is no WM running, GLFW falls
    back to XSetInputFocus, which will emit BadMatch if the window is not
    viewable, which will terminate the program.
    Bug spotted on IRC.
    (cherry picked from commit aa5e31356178de43d42f43f48914a62c25033f4b)
x11_window.c 97.8 KB