tests: remove has_wl_drm from struct client

The wl_drm protocol is not being used by the test client. So
remove 'bool has_wl_drm' from 'struct client' and also the
branch that initializes this variable in handle_global().

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
Leandro Ribeiro 2020-10-17 12:15:23 -03:00 committed by Pekka Paalanen
parent a7e0e717a9
commit 6b4d48736f
2 changed files with 0 additions and 3 deletions

View File

@ -792,8 +792,6 @@ handle_global(void *data, struct wl_registry *registry,
&weston_test_interface, version);
weston_test_add_listener(test->weston_test, &test_listener, test);
client->test = test;
} else if (strcmp(interface, "wl_drm") == 0) {
client->has_wl_drm = true;
}
}

View File

@ -57,7 +57,6 @@ struct client {
struct surface *surface;
int has_argb;
struct wl_list global_list;
bool has_wl_drm;
struct wl_list output_list; /* struct output::link */
};