Skip to content

Wayland: Switched to using a reference to relative_pointer_manager_proxy when creating SeatData#1179

Merged
Osspial merged 6 commits intorust-windowing:masterfrom
andersrein:master
Sep 23, 2019
Merged

Wayland: Switched to using a reference to relative_pointer_manager_proxy when creating SeatData#1179
Osspial merged 6 commits intorust-windowing:masterfrom
andersrein:master

Conversation

@andersrein
Copy link
Copy Markdown
Contributor

@andersrein andersrein commented Sep 21, 2019

Changed SeatData to obtain a reference to the relative pointer manager proxy in SeatManager. This solves the problem that when the GlobalEvent for the "zwp_relative_pointer_manager_v1" interface comes after the "wl_seat" interfaces the SeatData still has a way to obtain the relative_pointer_manager_proxy that was created when receiving "zwp_relative_pointer_manager_v1". This is a fix for #1178

@andersrein andersrein changed the title Delay add_seat until the relative_pointer_manager_proxy have been set… Switched to using a reference to relative_pointer_manager_proxy when creating SeatData Sep 21, 2019
@andersrein andersrein changed the title Switched to using a reference to relative_pointer_manager_proxy when creating SeatData Wayland: Switched to using a reference to relative_pointer_manager_proxy when creating SeatData Sep 21, 2019
@elinorbgr
Copy link
Copy Markdown
Contributor

Apart from the little point I raised, this looks good! 👍

…s to the relative_pointer_manager_proxy will happen on the same thread.
@Osspial Osspial merged commit 7df040f into rust-windowing:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants