SDL Wiki

Wayland

Wayland is a replacement for the X11 window system protocol and architecture and is favored over X11 by default in SDL3 for communicating with desktop compositors. It works well for the majority of applications, however, applications may encounter limitations or behavior that is different from other windowing systems.

Common issues:

Window decorations are missing, or the decorations look strange

Windows do not appear immediately after creation

SDL_SetWindowPosition() doesn't work on non-popup windows

Retrieving the global mouse cursor position when the cursor is outside a window doesn't work

Warping the global mouse cursor position via SDL_WarpMouseGlobal() doesn't work

The application icon can't be set via SDL_SetWindowIcon()


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.