This commit is contained in:
Kovid Goyal 2025-03-19 23:17:33 +05:30
parent c6db9b0b21
commit f20ad2fcb1
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -89,7 +89,7 @@ def load_all_shaders(semi_transparent: bool = False) -> None:
raise SystemExit(err)
def init_glfw_module(glfw_module: str, debug_keyboard: bool = False, debug_rendering: bool = False, wayland_enable_ime: bool = True) -> None:
def init_glfw_module(glfw_module: str = 'wayland', debug_keyboard: bool = False, debug_rendering: bool = False, wayland_enable_ime: bool = True) -> None:
ok, swo = glfw_init(glfw_path(glfw_module), edge_spacing, debug_keyboard, debug_rendering, wayland_enable_ime)
if not ok:
raise SystemExit('GLFW initialization failed')