This release fixes for bugs on all supported platforms, most of them affecting Wayland.
Please report any issues with this release to our issue tracker.
- Download source and binaries
- Documentation for this release
Changelog
- Added
GLFW_NATIVE_INCLUDE_NONEfor disabling inclusion of native headers (#1348) - Bugfix:
glfwMakeContextCurrentwould access TLS slot before initialization - Bugfix:
glfwSetGammaRampcould emitGLFW_INVALID_VALUEbefore initialization - Bugfix:
glfwGetJoystickUserPointerreturnedNULLduring disconnection (#2092) - [Win32] Bugfix:
Alt+PrtScwould emitGLFW_KEY_UNKNOWNand a different scancode thanPrtSc(#1993) - [Win32] Bugfix:
GLFW_KEY_PAUSEscancode fromglfwGetKeyScancodedid not match event scancode (#1993) - [Win32] Bugfix: Instance-local operations used executable instance (#469,#1296,#1395)
- [Win32] Bugfix: The OSMesa library was not unloaded on termination
- [Win32] Bugfix: Right shift emitted
GLFW_KEY_UNKNOWNwhen using a CJK IME (#2050) - [Cocoa] Disabled macOS fullscreen when
GLFW_RESIZABLEis false - [Cocoa] Bugfix: A connected Apple AirPlay would emit a useless error (#1791)
- [Cocoa] Bugfix: The EGL and OSMesa libraries were not unloaded on termination
- [Cocoa] Bugfix:
GLFW_MAXIMIZEDwas always true whenGLFW_RESIZABLEwas false - [Cocoa] Bugfix: Changing
GLFW_DECORATEDin macOS fullscreen would abort application (#1886) - [Cocoa] Bugfix: Setting a monitor from macOS fullscreen would abort application (#2110)
- [Cocoa] Bugfix: The Vulkan loader was not loaded from the
Frameworksbundle subdirectory (#2113,#2120) - [X11] Bugfix: The OSMesa libray was not unloaded on termination
- [X11] Bugfix: A malformed response during selection transfer could cause a segfault
- [X11] Bugfix: Some calls would reset Xlib to the default error handler (#2108)
- [Wayland] Added support for file path drop events (#2040)
- [Wayland] Added support for more human-readable monitor names where available
- [Wayland] Removed support for the deprecated wl_shell protocol
- [Wayland] Bugfix:
glfwSetClipboardStringwould fail if set to result ofglfwGetClipboardString - [Wayland] Bugfix: Data source creation error would cause double free at termination
- [Wayland] Bugfix: Partial writes of clipboard string would cause beginning to repeat
- [Wayland] Bugfix: Some errors would cause clipboard string transfer to hang
- [Wayland] Bugfix: Drag and drop data was misinterpreted as clipboard string
- [Wayland] Bugfix: MIME type matching was not performed for clipboard string
- [Wayland] Bugfix: The OSMesa library was not unloaded on termination
- [Wayland] Bugfix:
glfwCreateWindowcould emitGLFW_PLATFORM_ERROR - [Wayland] Bugfix: Lock key modifier bits were only set when lock keys were pressed
- [Wayland] Bugfix: A window leaving full screen mode would be iconified (#1995)
- [Wayland] Bugfix: A window leaving full screen mode ignored its desired size
- [Wayland] Bugfix:
glfwSetWindowMonitordid not update windowed mode size - [Wayland] Bugfix:
glfwRestoreWindowwould make a full screen window windowed - [Wayland] Bugfix: A window maximized or restored by the user would enter an inconsistent state
- [Wayland] Bugfix: Window maximization events were not emitted
- [Wayland] Bugfix:
glfwRestoreWindowassumed it was always in windowed mode - [Wayland] Bugfix:
glfwSetWindowSizewould resize a full screen window - [Wayland] Bugfix: A window content scale event would be emitted every time the window resized
- [Wayland] Bugfix: If
glfwInitfailed it would close stdin - [Wayland] Bugfix: Manual resizing with fallback decorations behaved erratically (#1991,#2115,#2127)
- [Wayland] Bugfix: Size limits included frame size for fallback decorations
- [Wayland] Bugfix: Updating
GLFW_DECORATEDhad no effect on server-side decorations - [Wayland] Bugfix: A monitor would be reported as connected again if its scale changed
- [Wayland] Bugfix:
glfwTerminatewould segfault if any monitor had changed scale - [Wayland] Bugfix: Window content scale events were not emitted when monitor scale changed
- [Wayland] Bugfix:
glfwSetWindowAspectRatioreported an error instead of applying the specified ratio - [Wayland] Bugfix:
GLFW_MAXIMIZEDwindow hint had no effect - [Wayland] Bugfix:
glfwRestoreWindowhad no effect before first show - [Wayland] Bugfix: Hiding and then showing a window caused program abort on wlroots compositors (#1268)
- [Wayland] Bugfix:
GLFW_DECORATEDwas ignored when showing a window with XDG decorations