diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-10-22 12:40:54 -0700 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-10-22 12:40:54 -0700 |
commit | 10ddd97ecffe16a6a5e7329f0be4f0ba381dd8b2 (patch) | |
tree | c49b95fdfef7dfaf11b2ae6c62ee36878d89e77a /tests | |
parent | 2e611264a31294bacdfb6ec0fd9a695599226d2c (diff) |
compositor: Remove redundant and not well-defined focus field
It was never clear what this field really did.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/weston-test.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/weston-test.c b/tests/weston-test.c index bc5b6e9d..a825d123 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -122,8 +122,6 @@ move_pointer(struct wl_client *client, struct wl_resource *resource, struct weston_seat *seat = get_seat(test); struct weston_pointer *pointer = seat->pointer; - test->compositor->focus = 1; - notify_motion(seat, 100, wl_fixed_from_int(x) - pointer->x, wl_fixed_from_int(y) - pointer->y); @@ -138,8 +136,6 @@ send_button(struct wl_client *client, struct wl_resource *resource, struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); - test->compositor->focus = 1; - notify_button(seat, 100, button, state); } @@ -172,8 +168,6 @@ send_key(struct wl_client *client, struct wl_resource *resource, struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); - test->compositor->focus = 1; - notify_key(seat, 100, key, state, STATE_UPDATE_AUTOMATIC); } |