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

@ -49,7 +49,6 @@ parse_workspace_index(const char *name)
static void
_osd_update(struct server *server)
{
struct theme *theme = server->theme;
/* Settings */
@ -138,7 +137,7 @@ _osd_update(struct server *server)
+ (output->usable_area.width - width) / 2
+ output_box.x;
int ly = output->usable_area.y
+ (output->usable_area.height - height ) / 2
+ (output->usable_area.height - height) / 2
+ output_box.y;
wlr_scene_node_set_position(&output->workspace_osd->node, lx, ly);
wlr_scene_buffer_set_buffer(output->workspace_osd, &buffer->base);
@ -281,7 +280,6 @@ workspaces_send_to(struct view *view, struct workspace *target)
view->workspace = target;
}
void
workspaces_osd_hide(struct seat *seat)
{