mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
Fix minor coding-style violations
...based on https://github.com/johanmalm/checkpatch.pl
This commit is contained in:
parent
439cf4f848
commit
d424514e24
14 changed files with 29 additions and 28 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue