diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-15 07:40:26 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-15 07:41:25 -0400 |
commit | 2bf2dbb2bd85d9cd471d784c25ad6a21d1c7a6a5 (patch) | |
tree | 7ea104e194e96c28005b3818fe6ad58fe5fb190d | |
parent | 5b1ce84350d78fa1bf7dc8ff421ae7c919542346 (diff) |
formatting fixup
-rw-r--r-- | types/wlr_surface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/types/wlr_surface.c b/types/wlr_surface.c index 1872ac3b..98a5ac27 100644 --- a/types/wlr_surface.c +++ b/types/wlr_surface.c @@ -58,7 +58,7 @@ static void surface_frame(struct wl_client *client, } wl_resource_set_implementation(cb->resource, - NULL, cb, destroy_frame_callback); + NULL, cb, destroy_frame_callback); wl_list_insert(surface->frame_callback_list.prev, &cb->link); } @@ -87,7 +87,7 @@ static void surface_set_input_region(struct wl_client *client, } else { pixman_region32_fini(&surface->pending.input); pixman_region32_init_rect(&surface->pending.input, - INT32_MIN, INT32_MIN, UINT32_MAX, UINT32_MAX); + INT32_MIN, INT32_MIN, UINT32_MAX, UINT32_MAX); } } @@ -212,8 +212,8 @@ static void surface_commit(struct wl_client *client, &surface_height); pixman_region32_union(&surface->current.surface_damage, - &surface->current.surface_damage, - &surface->pending.surface_damage); + &surface->current.surface_damage, + &surface->pending.surface_damage); pixman_region32_intersect_rect(&surface->current.surface_damage, &surface->current.surface_damage, 0, 0, surface_width, surface_height); @@ -350,7 +350,7 @@ struct wlr_surface *wlr_surface_create(struct wl_resource *res, wl_signal_init(&surface->signals.commit); wl_list_init(&surface->frame_callback_list); wl_resource_set_implementation(res, &surface_interface, - surface, destroy_surface); + surface, destroy_surface); return surface; } |