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

Fix typo in event_queues.md #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/client/general/event_queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Let's explain the arguments of this method one by one:
related to a mechanism of `wayland-client` that allows composition by delegating `Dispatch` implementations
to fields of your state struct. This is detailed below.
2. The second argument is a proxy representing the Wayland object with which this event is associated
3. The first argument is an enum representing the content of the event. You are thus expected to match it
3. The third argument is an enum representing the content of the event. You are thus expected to match it
in order to process it.
4. The fourth argument is a reference to the user data associated with this object.
5. The fifth argument is a reference to the underlying [`Connection`]. Most of the time you will not need to
Expand Down Expand Up @@ -141,4 +141,4 @@ With all this context given, we are now ready to initialize our first app!
[`Connection::new_event_queue()`]: https://docs.rs/wayland-client/latest/wayland_client/struct.Connection.html#method.new_event_queue
[`EventQueue::handle()`]: https://docs.rs/wayland-client/0.30.2/wayland_client/struct.EventQueue.html#method.handle
[`EventQueue::blocking_dispatch()`]: https://docs.rs/wayland-client/0.30.2/wayland_client/struct.EventQueue.html#method.blocking_dispatch
[`delegate_dispatch!`]: https://docs.rs/wayland-client/0.30.2/wayland_client/macro.delegate_dispatch.html
[`delegate_dispatch!`]: https://docs.rs/wayland-client/0.30.2/wayland_client/macro.delegate_dispatch.html