mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -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
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue