diff options
| author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-03-02 18:09:27 +0200 |
|---|---|---|
| committer | Pekka Paalanen <ppaalanen@gmail.com> | 2012-03-02 18:09:27 +0200 |
| commit | 70db367ccc2910e065db4b14039ebe40e13f5181 (patch) | |
| tree | 48dab6c37a16c798973b2f887d239df62367ffad /src/data-device.c | |
| parent | server: use the event sending wrappers (diff) | |
| download | wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar.gz wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar.bz2 wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar.lz wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar.xz wayland-70db367ccc2910e065db4b14039ebe40e13f5181.tar.zst wayland-70db367ccc2910e065db4b14039ebe40e13f5181.zip | |
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>
Diffstat (limited to 'src/data-device.c')
| -rw-r--r-- | src/data-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data-device.c b/src/data-device.c index fc34a18..aff2177 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -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; |
