mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 04:27:53 -05:00
view: Eliminate view_output() and use view->output directly
This commit is contained in:
parent
799f81ae05
commit
60fbb44f6a
3 changed files with 41 additions and 55 deletions
|
|
@ -315,7 +315,7 @@ position_xdg_toplevel_view(struct view *view)
|
|||
struct view *parent = lookup_view_by_xdg_toplevel(
|
||||
view->server, parent_xdg_toplevel);
|
||||
assert(parent);
|
||||
view->output = view_output(parent);
|
||||
view->output = parent->output;
|
||||
view_center(view, &parent->pending);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue