godot/platform/linuxbsd
PouleyKetchoupp 5a0376f969 Fix delay to process clipboard content from Godot in other programs
When pasting clipboard content from Godot to other applications,
multiple SelectionRequest events are sent to Godot in order to access
the data. It could take a long time before the data is ready for the
other app because events were processed one by one on the main thread,
especially when Godot is unfocused and runs at low frequency.

With this change, SelectionRequest events are directly handled on the
separate event polling thread to minimize this delay.

This change also replaces clipboard_get() calls in SelectionRequest with
a direct access to internal_clipboard, since in this case we know Godot
is the owner of the clipboard content and it's not necessary to query
the x server for it.
2020-09-25 16:40:04 +02:00
..
export Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +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_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
detect.py Add window click-through support. 2020-09-17 12:36:18 +03:00
display_server_x11.cpp Fix delay to process clipboard content from Godot in other programs 2020-09-25 16:40:04 +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
SCsub 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