diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2012-05-15 14:32:05 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-15 10:59:11 -0400 |
commit | 6d2030dabb9dac305e3c051b25c16ae6963961a1 (patch) | |
tree | c7b13d8d5b8ccbb0127a214ce4040573903666b3 | |
parent | 19ce462217ef6df060c14222877f9a788aafaada (diff) |
tests: Fix event-test
notify_motion() now receives coordinates in wl_fixed_t but the test was
still passing integers.
-rw-r--r-- | tests/event-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/event-test.c b/tests/event-test.c index 737e227..e89d5aa 100644 --- a/tests/event-test.c +++ b/tests/event-test.c @@ -56,7 +56,8 @@ handle_surface(struct test_client *client) device = client->compositor->input_device; client->compositor->focus = 1; /* Make it work even if pointer is * outside X window. */ - notify_motion(device, 100, 150, 150); + notify_motion(device, 100, + wl_fixed_from_int(150), wl_fixed_from_int(150)); test_client_send(client, "bye\n"); } |