desktop: focus next 'mapped' view on minimize

This commit is contained in:
Johan Malm 2020-09-18 20:28:48 +01:00
parent b46fa5e006
commit 3c90cb7945
4 changed files with 36 additions and 4 deletions

View file

@ -207,6 +207,7 @@ void desktop_focus_view(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);
struct view *desktop_view_at(struct server *server, double lx, double ly,
struct wlr_surface **surface, double *sx,
double *sy, int *view_area);