mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
server: fix event sending type mismatches
These were not bugs in practice, because the first (and only) field of struct wl_surface is struct wl_resource. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
5ee70146c6
commit
70db367ccc
2 changed files with 7 additions and 5 deletions
|
|
@ -201,7 +201,7 @@ drag_grab_focus(struct wl_pointer_grab *grab, uint32_t time,
|
|||
offer = wl_data_source_send_offer(device->drag_data_source,
|
||||
resource);
|
||||
|
||||
wl_data_device_send_enter(resource, time, surface,
|
||||
wl_data_device_send_enter(resource, time, &surface->resource,
|
||||
x, y, offer);
|
||||
|
||||
device->drag_focus = surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue