mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: Set view->output prior to calling view_center()
This commit is contained in:
parent
bdbbbb2e62
commit
a9cbbe1e41
4 changed files with 16 additions and 19 deletions
|
|
@ -400,7 +400,7 @@ set_initial_position(struct view *view,
|
|||
/* Just make sure the view is on-screen */
|
||||
view_adjust_for_layout_change(view);
|
||||
} else {
|
||||
view_center(view, output_nearest_to_cursor(view->server), NULL);
|
||||
view_center(view, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue