Skip to content

Commit c7391e8

Browse files
authored
[contrib.glfw3] New version (new extension function) (#28096)
Here are the release notes: - Implemented [GH#32](pongasoft/emscripten-glfw#32) - Added a way to disable autofocus on mouse down (`emscripten::glfw3::SetFocusOnMouseDown` extension function) Background (new in 3.5.1.20261028): Traditionally, on the desktop, the window manager assigns the focus to the window when the mouse is clicked within its boundaries. This implementation, by default, replicates this behavior by automatically focusing the window (= canvas) when the mouse is clicked (as well as when a touch event is received) within its boundaries. You can disable this autofocus behavior by calling: ```cpp auto window = glfwCreateWindow(...); emscripten::glfw3::SetFocusOnMouseDown(window, false); ```
1 parent da7002f commit c7391e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/ports/contrib/glfw3.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# University of Illinois/NCSA Open Source License. Both these licenses can be
44
# found in the LICENSE file.
55

6-
TAG = '3.5.1.20260809'
6+
TAG = '3.5.1.20261028'
77

88
EXTERNAL_PORT = f'https://github.com/pongasoft/emscripten-glfw/releases/download/v{TAG}/emscripten-glfw3-{TAG}.zip'
9-
SHA512 = '9efad6b2022885a39c92195540982027a0f13cf346272913ed89c7c67139d653c5835c799fe6325e83047afbb388532226174cbde476847ac3364500218e4efc'
9+
SHA512 = '4acc1aa275cc90dea906bc2fe3e41e5d21ea2a2b50e61a6ae1330c0e48189ad1000c9cf530958a6de99c5c3454783f8638a3024f9ef7c17fa254ed49a4ee01e4'
1010
PORT_FILE = 'port/glfw3.py'
1111

1212
# contrib port information (required)

0 commit comments

Comments
 (0)