aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/compositor/wl_shell.c4
-rw-r--r--examples/compositor/xdg_shell.c8
-rw-r--r--render/matrix.c2
3 files changed, 7 insertions, 7 deletions
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,
diff --git a/render/matrix.c b/render/matrix.c
index a927ed74..e49d365e 100644
--- a/render/matrix.c
+++ b/render/matrix.c
@@ -10,7 +10,7 @@ static inline int mind(int row, int col) {
void wlr_matrix_identity(float (*output)[16]) {
static const float identity[16] = {
- 1.0f, 0.0f, 0.0f, 0.0f,
+ 1.0f, 0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f, 0.0f,
0.0f, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f