aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index cea637a8d..02df03b52 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -47,9 +47,10 @@ static const struct screen_functions *mode_fn = &screen_playlist;
static int seek_id = -1;
static int seek_target_time = 0;
-gint get_cur_mode_id(void)
+gboolean
+screen_is_visible(const struct screen_functions *sf)
{
- return screen_get_id_by_index(screen.mode);
+ return sf == mode_fn;
}
static void