mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
chase wlroots: use WLR_PRIVATE (MR 4842)
Ref: 6006023a377868187f73d2e0922bbe952072684f
("Use WLR_PRIVATE for private fields")
This commit is contained in:
parent
2b1923c867
commit
0c2cf61895
5 changed files with 11 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue