Commit 0079a949 authored by Pekka Paalanen's avatar Pekka Paalanen

libweston: make weston_output::connection_internal a bool

It really is a boolean.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarArmin Krezović <krezovic.armin@gmail.com>
parent 4b582c7c
......@@ -2653,7 +2653,7 @@ drm_output_enable(struct weston_output *base)
find_and_parse_output_edid(b, output, output->connector);
if (output->connector->connector_type == DRM_MODE_CONNECTOR_LVDS ||
output->connector->connector_type == DRM_MODE_CONNECTOR_eDP)
output->base.connection_internal = 1;
output->base.connection_internal = true;
weston_plane_init(&output->cursor_plane, b->compositor,
INT32_MIN, INT32_MIN);
......
......@@ -223,7 +223,7 @@ struct weston_output {
void (*set_backlight)(struct weston_output *output, uint32_t value);
void (*set_dpms)(struct weston_output *output, enum dpms_enum level);
int connection_internal;
bool connection_internal;
uint16_t gamma_size;
void (*set_gamma)(struct weston_output *output,
uint16_t size,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment