diff options
author | Mathieu OTHACEHE <m.othacehe@gmail.com> | 2016-12-07 10:03:53 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-12-08 17:41:13 +0100 |
commit | 61516d64eb81d872d4e4d2a4ed50dbcb5d950557 (patch) | |
tree | ceabe3c0a9ea168ec7a41414ee0b6ba32ea35235 | |
parent | 94fcf440050defa49d9f726302a62d327d377e84 (diff) | |
download | ratpoison-61516d64eb81d872d4e4d2a4ed50dbcb5d950557.zip |
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
-rw-r--r-- | src/ratpoison.h | 1 | ||||
-rw-r--r-- | src/screen.h | 1 |
2 files changed, 1 insertions, 1 deletions
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); |