godot/platform/linuxbsd
PouleyKetchoupp 48a0d44e67 Fix x11 display server crash when deleting popup window when unfocused
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
2020-10-08 17:22:03 +02:00
..
export Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
context_gl_x11.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
context_gl_x11.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
crash_handler_linuxbsd.cpp [Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms. 2020-09-03 19:56:24 +03:00
crash_handler_linuxbsd.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
detect.py Add window click-through support. 2020-09-17 12:36:18 +03:00
detect_prime_x11.cpp Style: clang-format: Disable AllowShortIfStatementsOnASingleLine 2020-05-10 13:12:16 +02:00
detect_prime_x11.h Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
display_server_x11.cpp Fix x11 display server crash when deleting popup window when unfocused 2020-10-08 17:22:03 +02:00
display_server_x11.h Fix delay to process clipboard content from Godot in other programs 2020-09-25 16:40:04 +02:00
godot_linuxbsd.cpp t Add unit testing to Godot using DocTest and added to GitHub Actions CI 2020-07-24 13:05:33 +01:00
joypad_linux.cpp Update Linux gamepad detection to match SDL. 2020-07-22 10:17:39 +01:00
joypad_linux.h Rename InputFilter back to Input 2020-04-28 15:19:49 +02:00
key_mapping_x11.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
key_mapping_x11.h Port member initialization from constructor to declaration (C++11) 2020-05-14 10:01:56 +02:00
logo.png Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
os_linuxbsd.cpp Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
os_linuxbsd.h Port ClassDB tests to use doctest 2020-08-16 16:41:02 +03:00
pck_embed.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
pck_embed.legacy.ld Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
platform_config.h Linux/BSD: Fix support for NetBSD 2020-09-18 10:27:55 +02:00
platform_linuxbsd_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
vulkan_context_x11.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
vulkan_context_x11.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00