mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 13:28:07 +02:00
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:
parent
a7e0e717a9
commit
6b4d48736f
2 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue