desktop.c: make topmost_mapped_view() private

This commit is contained in:
Johan Malm 2021-09-20 22:07:19 +01:00
parent 74e1d6e45c
commit e4b51fc5e8
2 changed files with 1 additions and 2 deletions

View file

@ -337,7 +337,6 @@ void desktop_focus_view(struct seat *seat, struct view *view);
* Note: If !current, the server->views second focusable view is returned * Note: If !current, the server->views second focusable view is returned
*/ */
struct view *desktop_cycle_view(struct server *server, struct view *current); struct view *desktop_cycle_view(struct server *server, struct view *current);
struct view *topmost_mapped_view(struct server *server);
struct view *focused_view(struct server *server); struct view *focused_view(struct server *server);
void desktop_focus_topmost_mapped_view(struct server *server); void desktop_focus_topmost_mapped_view(struct server *server);
bool isfocusable(struct view *view); bool isfocusable(struct view *view);

View file

@ -197,7 +197,7 @@ has_mapped_view(struct wl_list *wl_list)
return false; return false;
} }
struct view * static struct view *
topmost_mapped_view(struct server *server) topmost_mapped_view(struct server *server)
{ {
if (!has_mapped_view(&server->views)) { if (!has_mapped_view(&server->views)) {