mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
48a0d44e67
On FocusOut events, the window could be destroyed while propagating WINDOW_EVENT_FOCUS_OUT event, which causes the WindowData to be invalidated, and still used for calls to XUnsetICFocus. This change moves calls to XUnsetICFocus, and also XSetICFocus in FocusIn events, before propagating the change of focus event to the engine, to be safe in any case. Also setting xic member to nullptr after all calls to XDestroyIC to keep things clean and consistent. Fixes #42645 |
||
---|---|---|
.. | ||
export | ||
context_gl_x11.cpp | ||
context_gl_x11.h | ||
crash_handler_linuxbsd.cpp | ||
crash_handler_linuxbsd.h | ||
detect_prime_x11.cpp | ||
detect_prime_x11.h | ||
detect.py | ||
display_server_x11.cpp | ||
display_server_x11.h | ||
godot_linuxbsd.cpp | ||
joypad_linux.cpp | ||
joypad_linux.h | ||
key_mapping_x11.cpp | ||
key_mapping_x11.h | ||
logo.png | ||
os_linuxbsd.cpp | ||
os_linuxbsd.h | ||
pck_embed.ld | ||
pck_embed.legacy.ld | ||
platform_config.h | ||
platform_linuxbsd_builders.py | ||
SCsub | ||
vulkan_context_x11.cpp | ||
vulkan_context_x11.h |