compositor: use generated constant instead of hardcoded value
Use SINCE macros instead of the hardcoded version value. Signed-off-by: David Fort <contact@hardening-consulting.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
2d4aa83fe1
commit
8a120690a1
@ -4234,7 +4234,7 @@ weston_output_move(struct weston_output *output, int x, int y)
|
||||
output->model,
|
||||
output->transform);
|
||||
|
||||
if (wl_resource_get_version(resource) >= 2)
|
||||
if (wl_resource_get_version(resource) >= WL_OUTPUT_DONE_SINCE_VERSION)
|
||||
wl_output_send_done(resource);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user