chase wlroots: use WLR_PRIVATE (MR 4842)

Ref: 6006023a377868187f73d2e0922bbe952072684f
("Use WLR_PRIVATE for private fields")
This commit is contained in:
Consolatis 2024-11-27 04:48:45 +01:00 committed by Johan Malm
parent 2b1923c867
commit 0c2cf61895
5 changed files with 11 additions and 9 deletions

View file

@ -552,7 +552,7 @@ view_update_outputs(struct view *view)
wl_list_for_each(output, &view->server->outputs, link) {
if (output_is_usable(output) && wlr_output_layout_intersects(
layout, output->wlr_output, &view->current)) {
new_outputs |= (1ull << output->scene_output->index);
new_outputs |= (1ull << output->scene_output->WLR_PRIVATE.index);
}
}
@ -569,7 +569,7 @@ view_on_output(struct view *view, struct output *output)
assert(view);
assert(output);
return output->scene_output
&& (view->outputs & (1ull << output->scene_output->index));
&& (view->outputs & (1ull << output->scene_output->WLR_PRIVATE.index));
}
void