From 61516d64eb81d872d4e4d2a4ed50dbcb5d950557 Mon Sep 17 00:00:00 2001 From: Mathieu OTHACEHE Date: Wed, 7 Dec 2016 10:03:53 +0100 Subject: Move function declaration to the right header find_screen is defined in screen.c so it makes more sense to declare it in screen.h --- src/ratpoison.h | 1 - src/screen.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ratpoison.h b/src/ratpoison.h index c98dd40..981a882 100644 --- a/src/ratpoison.h +++ b/src/ratpoison.h @@ -82,7 +82,6 @@ extern XGCValues gv; #include "format.h" void clean_up (void); -rp_screen *find_screen (Window w); void set_close_on_exec (int fd); const char *get_homedir (void); diff --git a/src/screen.h b/src/screen.h index 2072d36..67d8ab4 100644 --- a/src/screen.h +++ b/src/screen.h @@ -35,6 +35,7 @@ void frameset_free (struct list_head *head); rp_frame *screen_get_frame (rp_screen *s, int frame_num); rp_frame *screen_find_frame_by_frame (rp_screen *s, rp_frame *f); +rp_screen *find_screen (Window w); void init_screens (void); void activate_screen (rp_screen *s); void deactivate_screen (rp_screen *s); -- cgit v1.2.3