mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 11:18:43 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue