Move isfocusable() from desktop.c to view.c

This commit is contained in:
Johan Malm 2023-08-20 16:43:29 +01:00 committed by Johan Malm
parent 602d59a3b2
commit e5a6c57a6e
5 changed files with 29 additions and 24 deletions

View file

@ -475,7 +475,7 @@ osd_update(struct server *server)
/* Outline current window */
if (rc.window_switcher.outlines) {
if (isfocusable(server->osd_state.cycle_view)) {
if (view_isfocusable(server->osd_state.cycle_view)) {
osd_update_preview_outlines(server->osd_state.cycle_view);
}
}