diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 03:27:14 +0200 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-09-18 03:27:14 +0200 |
commit | 1f8a8e447530376cae591029c6b8c523c9eab123 (patch) | |
tree | 42104f455f550fd5d3ea3f4aec6a09824b5e60a3 | |
parent | 0b555169ea8e69524d0c65e3bd2ceff8bf51f53a (diff) | |
download | ratpoison-1f8a8e447530376cae591029c6b8c523c9eab123.zip |
set_active_window_body can be static
-rw-r--r-- | src/window.c | 4 | ||||
-rw-r--r-- | src/window.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 154684c..07df96b 100644 --- a/src/window.c +++ b/src/window.c @@ -30,6 +30,8 @@ LIST_HEAD(rp_mapped_window); struct numset *rp_window_numset; +static void set_active_window_body (rp_window *win, int force); + /* Get the mouse position relative to the the specified window */ static void get_mouse_position (rp_window *win, int *mouse_x, int *mouse_y) @@ -473,7 +475,7 @@ find_frame_non_dedicated(rp_screen *current_screen) return NULL; } -void +static void set_active_window_body (rp_window *win, int force) { rp_window *last_win; diff --git a/src/window.h b/src/window.h index 09cc166..644407d 100644 --- a/src/window.h +++ b/src/window.h @@ -33,7 +33,6 @@ void maximize_current_window (void); void give_window_focus (rp_window *win, rp_window *last_win); void set_active_window (rp_window *win); void set_active_window_force (rp_window *win); -void set_active_window_body (rp_window *win, int force); void goto_window (rp_window *win); void set_current_window (rp_window *win); void update_window_gravity (rp_window *win); |