[RFC weston 01/14] compositor-drm: Clean trailing whitespace
Bryce Harrington
bryce at osg.samsung.com
Thu May 21 11:58:31 PDT 2015
On Thu, May 21, 2015 at 08:28:58AM +0100, Daniel Stone wrote:
> Signed-off-by: Daniel Stone <daniels at collabora.com>
Since this one's trivial, I just pushed it:
ab3298a..f556ebe master -> master
> ---
> src/compositor-drm.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index 71ece6b..bf921be 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -1221,10 +1221,10 @@ choose_mode (struct drm_output *output, struct weston_mode *target_mode)
> wl_list_for_each(mode, &output->base.mode_list, base.link) {
> if (mode->mode_info.hdisplay == target_mode->width &&
> mode->mode_info.vdisplay == target_mode->height) {
> - if (mode->mode_info.vrefresh == target_mode->refresh ||
> + if (mode->mode_info.vrefresh == target_mode->refresh ||
> target_mode->refresh == 0) {
> return mode;
> - } else if (!tmp_mode)
> + } else if (!tmp_mode)
> tmp_mode = mode;
> }
> }
> @@ -2415,7 +2415,7 @@ update_outputs(struct drm_compositor *ec, struct udev_device *drm_device)
> }
> }
>
> - /* FIXME: handle zero outputs, without terminating */
> + /* FIXME: handle zero outputs, without terminating */
> if (ec->connector_allocator == 0)
> wl_display_terminate(ec->base.wl_display);
> }
> @@ -2509,7 +2509,7 @@ drm_compositor_set_modes(struct drm_compositor *compositor)
> if (ret < 0) {
> weston_log(
> "failed to set mode %dx%d for output at %d,%d: %m\n",
> - drm_mode->base.width, drm_mode->base.height,
> + drm_mode->base.width, drm_mode->base.height,
> output->base.x, output->base.y);
> }
> }
> --
> 2.4.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list