desktop: rename desktop_cycle_view()

This commit is contained in:
Johan Malm 2020-10-31 14:46:33 +00:00
parent 5f9c5a9d01
commit 5d6143449f
5 changed files with 9 additions and 11 deletions

View file

@ -227,11 +227,11 @@ void view_for_each_surface(struct view *view,
void desktop_focus_view(struct seat *seat, struct view *view);
/**
* desktop_next_view - return next view
* @current: view used as reference point for defining 'next'
* Note: If current==NULL, the list's second view is returned
* desktop_cycle_view - return view to 'cycle' to
* @current: reference point for finding next view to cycle to
* Note: If !current, the server->views second focusable view is returned
*/
struct view *desktop_next_view(struct server *server, struct view *current);
struct view *desktop_cycle_view(struct server *server, struct view *current);
void desktop_focus_topmost_mapped_view(struct server *server);
struct view *desktop_view_at(struct server *server, double lx, double ly,
struct wlr_surface **surface, double *sx,