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>
dev
FORT David 9 years ago committed by Bryce Harrington
parent 2d4aa83fe1
commit 8a120690a1
  1. 2
      src/compositor.c

@ -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…
Cancel
Save