mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -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
|
|
@ -131,9 +131,7 @@ void view_moved(struct view *view);
|
|||
void view_minimize(struct view *view, bool minimized);
|
||||
struct output *view_output(struct view *view);
|
||||
void view_store_natural_geometry(struct view *view);
|
||||
/* output is optional, defaults to current nearest output */
|
||||
void view_center(struct view *view, struct output *output,
|
||||
const struct wlr_box *ref);
|
||||
void view_center(struct view *view, const struct wlr_box *ref);
|
||||
void view_restore_to(struct view *view, struct wlr_box geometry);
|
||||
void view_set_untiled(struct view *view);
|
||||
void view_maximize(struct view *view, bool maximize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue