Minecraft Java Edition switches from GLFW to SDL3 for window and input handling
Minecraft Java Edition’s 26.3 snapshot replaces GLFW with SDL3, altering window management and input handling across platforms.

The 26.3 snapshot for Minecraft Java Edition announced a core library change: the game now uses SDL3 instead of GLFW for window management, input, and platform integration. SDL3 brings a modern, cross‑platform API that many developers already use in native games and tools. For modders and server operators, the switch touches everything from mouse handling to fullscreen behavior on Windows, macOS, and Linux. Understanding these changes early helps avoid compatibility surprises when updating to the latest snapshot.
What happened
In the 26.3 snapshot the developers replaced the long‑standing GLFW dependency with SDL3, a library that handles window creation, input events, and platform abstraction in a single, actively maintained codebase. The change affects how the game acquires mouse input (now always relative mode), how key bindings map to physical keys, and how fullscreen modes are toggled.
Additional platform‑specific notes were included: exclusive fullscreen on Windows can crash in certain multi‑monitor setups, exclusive fullscreen on Wayland crashes outright, and macOS no longer supports exclusive fullscreen at all. The client now prefers native Wayland on Linux when available, and borderless fullscreen is the default mode.
Why it matters
Switching to SDL3 modernizes Minecraft’s low‑level stack, potentially improving performance, reducing bugs, and aligning the engine with a library familiar to many game developers. However, the shift also introduces new failure modes—especially around exclusive fullscreen—that can impact streamers, competitive players, and anyone running the game on multi‑monitor rigs. Mod developers who interact directly with window or input APIs will need to verify that their code works with SDL3’s event model.
- Unified, actively maintained library reduces technical debt.
- Better cross‑platform consistency, especially on Linux/Wayland.
- Physical‑key key bindings improve international keyboard support.
- Exclusive fullscreen crashes on Windows and Wayland.
- macOS loses exclusive fullscreen capability.
- Existing mods that hook GLFW may need updates.
How to think about it
If you maintain a mod or a custom client, audit any native code that references GLFW symbols and replace them with SDL3 equivalents or abstract them behind a compatibility layer. Test the game in both borderless and exclusive fullscreen on each OS you support, and add fallback logic for the known crash scenarios. For server operators, communicate the change to players and suggest disabling exclusive fullscreen if they encounter instability.
FAQ
Will existing mods that rely on GLFW break?+
How does the SDL3 switch affect custom input handling?+
What should I do if I encounter a crash in exclusive fullscreen mode?+
- engineering·3 min readMeasuring Input Latency on Linux: X11 vs Wayland, VRR, and DXVK Findings
A deep dive into measured input latency across X11, Wayland, VRR, and DXVK on Linux, using a custom photodiode rig.
- engineering·3 min readWindows 2000 UI Design
Windows 2000 UI design review
- engineering·3 min readNew Outlook Takes 10 Seconds to Open Emails
Microsoft's new Outlook is slower than Outlook Classic
The week’s highest-signal tech and AI stories, synthesized into a five-minute read. One email a week, no spam, unsubscribe anytime.