Fix minor coding-style violations

...based on https://github.com/johanmalm/checkpatch.pl
This commit is contained in:
Johan Malm 2022-09-17 12:31:07 +01:00 committed by Johan Malm
parent 439cf4f848
commit d424514e24
14 changed files with 29 additions and 28 deletions

View file

@ -112,8 +112,8 @@ _handle_node_destroy(struct wl_listener *listener, void *data)
static void
_handle_output_enter(struct wl_listener *listener, void *data)
{
struct scaled_scene_buffer *self
= wl_container_of(listener, self, output_enter);
struct scaled_scene_buffer *self =
wl_container_of(listener, self, output_enter);
/* primary_output is the output most of the node area is in */
struct wlr_scene_output *primary = self->scene_buffer->primary_output;
/* scene_output is the output we just entered */
@ -132,8 +132,8 @@ _handle_output_enter(struct wl_listener *listener, void *data)
static void
_handle_output_leave(struct wl_listener *listener, void *data)
{
struct scaled_scene_buffer *self
= wl_container_of(listener, self, output_leave);
struct scaled_scene_buffer *self =
wl_container_of(listener, self, output_leave);
/* primary_output is the output most of the node area is in */
struct wlr_scene_output *primary = self->scene_buffer->primary_output;