desktop: refactor desktop_focus_topmost_mapped_view()

Rename from desktop_focus_next_mapped_view() to
desktop_focus_topmost_mapped_view() and only take struct server as
argument.
This commit is contained in:
Johan Malm 2020-10-31 14:32:31 +00:00
parent 11ce73f2d6
commit 5f9c5a9d01
4 changed files with 12 additions and 12 deletions

View file

@ -232,7 +232,7 @@ void desktop_focus_view(struct seat *seat, struct view *view);
* Note: If current==NULL, the list's second view is returned
*/
struct view *desktop_next_view(struct server *server, struct view *current);
void desktop_focus_next_mapped_view(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,
double *sy, int *view_area);