view: Comment updates

This commit is contained in:
John Lindgren 2023-03-05 01:58:24 -05:00 committed by Johan Malm
parent 331f62f662
commit 9f00087a82
2 changed files with 7 additions and 5 deletions

View file

@ -147,6 +147,13 @@ void view_move(struct view *view, int x, int y);
void view_moved(struct view *view);
void view_minimize(struct view *view, bool minimized);
void view_store_natural_geometry(struct view *view);
/**
* view_center - center view within some region
* @view: view to be centered
* @ref: optional reference region (in layout coordinates) to center
* within; if NULL, view is centered within usable area of its output
*/
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);

View file

@ -102,11 +102,6 @@ view_get_edge_snap_box(struct view *view, struct output *output,
return dst;
}
/*
* At present, a view can only 'enter' one output at a time, although the view
* may span multiple outputs. Ideally we would handle multiple outputs, but
* this method is the simplest form of what we want.
*/
static void
view_discover_output(struct view *view)
{