glfw/docs/news.md
2025-09-07 18:31:55 +00:00

2.6 KiB

Release notes for version 3.5

[TOC]

New features

ZWLR Layer Shell support for Wayland

Create surfaces that are layers of the desktop

Such surfaces are assigned to a "layer" of the output and rendered with a defined z-depth respective to each other. They may also be anchored to the edges and corners of a screen and specify input handling semantics. This interface should be suitable for the implementation of many desktop shell components, and a broad number of other applications that interact with the desktop.

Unlimited mouse buttons

GLFW now has an input mode which allows an unlimited number of mouse buttons to be reported by the mouse buttton callback, rather than just the associated [mouse button tokens](@ref buttons). This allows using mouse buttons with values over 8. For compatibility with older versions, the @ref GLFW_UNLIMITED_MOUSE_BUTTONS input mode needs to be set to make use of this.

EGL config native access function

GLFW now provides the @ref glfwGetEGLConfig native access function for querying the EGLConfig of a window that has a EGLSurface.

GLXFBConfig native access function

GLFW now provides the @ref glfwGetGLXFBConfig native access function for querying the GLXFBConfig of a window that has a GLXWindow.

Caveats

Deprecations

Removals

Windows XP and Vista support has been removed

Support for Windows XP and Vista has been removed. Windows XP has been out of extended support since 2014.

Original MinGW support has been removed

Support for the now unmaintained original MinGW distribution has been removed.

This does not apply to the much more capable MinGW-w64, which remains fully supported. MinGW-w64 can build both 32- and 64-bit binaries, is actively maintained and available on many platforms.

New symbols

New functions

  • @ref glfwGetEGLConfig
  • @ref glfwGetGLXFBConfig

New types

New constants

  • @ref GLFW_UNLIMITED_MOUSE_BUTTONS

Release notes for earlier versions