mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -04:00
layers: remove redundant function argument
This commit is contained in:
parent
f6e3527767
commit
cf72d01f0c
1 changed files with 4 additions and 5 deletions
|
|
@ -38,9 +38,8 @@ apply_override(struct output *output, struct wlr_box *usable_area)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
arrange_one_layer(struct output *output, const struct wlr_box *full_area,
|
arrange_one_layer(const struct wlr_box *full_area, struct wlr_box *usable_area,
|
||||||
struct wlr_box *usable_area, struct wlr_scene_tree *tree,
|
struct wlr_scene_tree *tree, bool exclusive)
|
||||||
bool exclusive)
|
|
||||||
{
|
{
|
||||||
struct wlr_scene_node *node;
|
struct wlr_scene_node *node;
|
||||||
wl_list_for_each(node, &tree->children, link) {
|
wl_list_for_each(node, &tree->children, link) {
|
||||||
|
|
@ -85,8 +84,8 @@ layers_arrange(struct output *output)
|
||||||
* clients, so that the latter give way to the former regardless
|
* clients, so that the latter give way to the former regardless
|
||||||
* of the order in which they were launched.
|
* of the order in which they were launched.
|
||||||
*/
|
*/
|
||||||
arrange_one_layer(output, &full_area, &usable_area, layer, true);
|
arrange_one_layer(&full_area, &usable_area, layer, true);
|
||||||
arrange_one_layer(output, &full_area, &usable_area, layer, false);
|
arrange_one_layer(&full_area, &usable_area, layer, false);
|
||||||
|
|
||||||
/* Set node position to account for output layout change */
|
/* Set node position to account for output layout change */
|
||||||
wlr_scene_node_set_position(&layer->node, scene_output->x,
|
wlr_scene_node_set_position(&layer->node, scene_output->x,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue