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

rdp backend: fix dispatch to display loop for clipboard #136

Closed
wants to merge 1 commit into from

Conversation

hideyukn88
Copy link
Member

This PR reorganize the usage of utility functions to dispatch task to display loop thread. This address the issue identified at microsoft/wslg#678 (comment).

  • queue deferred-task from display thread to display thread (with wait of file descriptor state change) use wl_event_loop_add_fd.
  • dispatch task from non-display thread to display thread (with wait of file descriptor state change) use wl_event_loop_add_fd.
  • dispatch task from non-display thread to display thread (dispatch immediately) use rdp_dispatch_task_to_display_loop.

@hideyukn88 hideyukn88 closed this Mar 8, 2023
@hideyukn88 hideyukn88 deleted the fix_clipboard_dispatch_to_display_loop branch March 8, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant