From bd2e9a7168dc530c03b7b45ecfdd5ce0aff0ddb8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 9 Aug 2017 17:30:22 -0400 Subject: Style cleanup --- examples/compositor/wl_shell.c | 4 ++-- examples/compositor/xdg_shell.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/compositor/wl_shell.c b/examples/compositor/wl_shell.c index dcff3f91..e56f5c9e 100644 --- a/examples/compositor/wl_shell.c +++ b/examples/compositor/wl_shell.c @@ -81,8 +81,8 @@ static void destroy_shell_surface(struct wl_resource *resource) { } void wl_shell_get_shell_surface(struct wl_client *client, - struct wl_resource *resource, uint32_t id, - struct wl_resource *surface) { + struct wl_resource *resource, uint32_t id, + struct wl_resource *surface) { struct wlr_texture *wlr_texture = wl_resource_get_user_data(surface); struct shell_surface_state *state = malloc(sizeof(struct shell_surface_state)); state->wlr_texture = wlr_texture; diff --git a/examples/compositor/xdg_shell.c b/examples/compositor/xdg_shell.c index 5130bce6..2efeecfa 100644 --- a/examples/compositor/xdg_shell.c +++ b/examples/compositor/xdg_shell.c @@ -162,10 +162,10 @@ static void xdg_shell_pong(struct wl_client *client, struct wl_resource *resourc } static struct zxdg_shell_v6_interface xdg_shell_impl = { - .destroy = resource_destructor, - .create_positioner = xdg_shell_create_positioner, - .get_xdg_surface = xdg_shell_get_xdg_surface, - .pong = xdg_shell_pong, + .destroy = resource_destructor, + .create_positioner = xdg_shell_create_positioner, + .get_xdg_surface = xdg_shell_get_xdg_surface, + .pong = xdg_shell_pong, }; static void xdg_shell_bind(struct wl_client *wl_client, void *_state, -- cgit v1.2.3