summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/actions.c b/src/actions.c
index bda8002..052b099 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -4292,7 +4292,7 @@ cmd_exchangeup (int interactive UNUSED, struct cmdarg **args UNUSED)
rp_frame *frame;
if ((frame = find_frame_up (current_frame())))
- exchange_with_frame (current_screen(), current_frame(), frame);
+ exchange_with_frame (current_frame(), frame);
return cmdret_new (RET_SUCCESS, NULL);
}
@@ -4303,7 +4303,7 @@ cmd_exchangedown (int interactive UNUSED, struct cmdarg **args UNUSED)
rp_frame *frame;
if ((frame = find_frame_down (current_frame())))
- exchange_with_frame (current_screen(), current_frame(), frame);
+ exchange_with_frame (current_frame(), frame);
return cmdret_new (RET_SUCCESS, NULL);
}
@@ -4314,7 +4314,7 @@ cmd_exchangeleft (int interactive UNUSED, struct cmdarg **args UNUSED)
rp_frame *frame;
if ((frame = find_frame_left (current_frame())))
- exchange_with_frame (current_screen(), current_frame(), frame);
+ exchange_with_frame (current_frame(), frame);
return cmdret_new (RET_SUCCESS, NULL);
}
@@ -4325,7 +4325,7 @@ cmd_exchangeright (int interactive UNUSED, struct cmdarg **args UNUSED)
rp_frame *frame;
if ((frame = find_frame_right (current_frame())))
- exchange_with_frame (current_screen(), current_frame(), frame);
+ exchange_with_frame (current_frame(), frame);
return cmdret_new (RET_SUCCESS, NULL);
}
@@ -4347,7 +4347,7 @@ cmd_swap (int interactive UNUSED, struct cmdarg **args)
return cmdret_new (RET_FAILURE, "swap: frames on different screens");
}
- exchange_with_frame (current_screen(), src_frame, dest_frame);
+ exchange_with_frame (src_frame, dest_frame);
return cmdret_new (RET_SUCCESS, NULL);
}