mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
osd: fix compiler warning
This commit is contained in:
parent
48c9e6fda0
commit
fa37fba0b0
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ osd_update(struct server *server)
|
||||||
- w / 2 + output_box.x;
|
- w / 2 + output_box.x;
|
||||||
int ly = output->usable_area.y + output->usable_area.height / 2
|
int ly = output->usable_area.y + output->usable_area.height / 2
|
||||||
- h / 2 + output_box.y;
|
- h / 2 + output_box.y;
|
||||||
wlr_scene_node_set_position(&output->osd_tree->node, lx, ly);
|
wlr_scene_node_set_position(&scene_buffer->node, lx, ly);
|
||||||
wlr_scene_node_set_enabled(&output->osd_tree->node, true);
|
wlr_scene_node_set_enabled(&output->osd_tree->node, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue