summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2017-09-18 03:22:01 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2017-09-18 03:22:33 +0200
commited5e25dd1259af57d36511dcbe794024f958d9a9 (patch)
treed1c6e21dfb4ad6bd060485f0368627f6d23dae5f
parentba1dd2251f26f62d673f5e2aaf30bc6725db681e (diff)
downloadratpoison-ed5e25dd1259af57d36511dcbe794024f958d9a9.zip
Kill unused param
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index b7609ca..154684c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -453,7 +453,7 @@ void set_active_window_force (rp_window *win)
}
static rp_frame *
-find_frame_non_dedicated(rp_screen *current_screen, rp_frame *current_frame)
+find_frame_non_dedicated(rp_screen *current_screen)
{
rp_frame *cur;
rp_screen *screen;
@@ -501,7 +501,7 @@ set_active_window_body (rp_window *win, int force)
/* Try to find a non-dedicated frame. */
rp_frame *non_dedicated;
- non_dedicated = find_frame_non_dedicated (rp_current_screen, frame);
+ non_dedicated = find_frame_non_dedicated (rp_current_screen);
if (non_dedicated != NULL)
{
last_frame = frame;