tests: Fix event-test
notify_motion() now receives coordinates in wl_fixed_t but the test was still passing integers.
This commit is contained in:
committed by
Kristian Høgsberg
parent
19ce462217
commit
6d2030dabb
+2
-1
@@ -56,7 +56,8 @@ handle_surface(struct test_client *client)
|
|||||||
device = client->compositor->input_device;
|
device = client->compositor->input_device;
|
||||||
client->compositor->focus = 1; /* Make it work even if pointer is
|
client->compositor->focus = 1; /* Make it work even if pointer is
|
||||||
* outside X window. */
|
* 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");
|
test_client_send(client, "bye\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user