aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-08 17:43:41 +0100
committerAlexander Orzechowski <alex@ozal.ski>2022-11-08 16:47:59 +0000
commit24c149fefb2bf7c962c13c7f39b8e75905ef1f22 (patch)
tree7f9cb14c83de4928917b725489d22ed1b9f0e48f
parentc284700deb99b56388b6c189190948e73a9c0a8e (diff)
scene: fix whitespace
-rw-r--r--types/scene/wlr_scene.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c
index 4754b0ef..1be2d131 100644
--- a/types/scene/wlr_scene.c
+++ b/types/scene/wlr_scene.c
@@ -185,7 +185,7 @@ static void scene_node_get_size(struct wlr_scene_node *node, int *lx, int *ly);
typedef bool (*scene_node_box_iterator_func_t)(struct wlr_scene_node *node,
int sx, int sy, void *data);
-static bool _scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box,
+static bool _scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box,
scene_node_box_iterator_func_t iterator, void *user_data, int lx, int ly) {
if (!node->enabled) {
return false;
@@ -216,7 +216,7 @@ static bool _scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box
return false;
}
-static bool scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box,
+static bool scene_nodes_in_box(struct wlr_scene_node *node, struct wlr_box *box,
scene_node_box_iterator_func_t iterator, void *user_data) {
int x, y;
wlr_scene_node_coords(node, &x, &y);
@@ -348,7 +348,7 @@ static void update_node_update_outputs(struct wlr_scene_node *node,
active_outputs |= 1ull << scene_output->index;
}
-
+
pixman_region32_fini(&intersection);
}
@@ -563,7 +563,7 @@ void wlr_scene_buffer_set_buffer_with_damage(struct wlr_scene_buffer *scene_buff
struct wlr_buffer *buffer, pixman_region32_t *damage) {
// specifying a region for a NULL buffer doesn't make sense. We need to know
// about the buffer to scale the buffer local coordinates down to scene
- // coordinates.
+ // coordinates.
assert(buffer || !damage);
if (buffer == scene_buffer->buffer) {