Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2] Fix issues related to delay when processing events on Linux #42341

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

pouleyKetchoupp
Copy link
Contributor

3.2 backport of PR #41910:
Fix general keyboard input lag on X11 display server
Fix delay to process clipboard content from Godot in other programs

Fixes some issues on the 3.2 branch: #31177, #39422

See original PR for more details.
Implementation is almost identical as 4.0, except for:
-LocalVector backported from master, also requires some changes in error_macros to add missing macros.
-XInitThreads now called even with render on the main thread, because we need xlib to be initialized for multi-threading for polling events from the x server on a separate thread.
-OS::get_clipboard() is used instead of internal_clipboard which doesn't exist in this implementation.

CC @hpvb

core/local_vector.h Outdated Show resolved Hide resolved
3.2 backport of PR godotengine#41910:
Fix general keyboard input lag on X11 display server
Fix delay to process clipboard content from Godot in other programs
@akien-mga akien-mga merged commit 9047731 into godotengine:3.2 Sep 30, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants