summaryrefslogtreecommitdiff
path: root/src/split.h
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2010-03-17 16:18:07 +0100
committerBernhard R. Link <brlink@debian.org>2010-03-17 16:25:39 +0100
commit24c831b03816bd9821198cc9d24f0cf9e1e7e062 (patch)
treef06bbc4c7153613a3a4ee67e6fe0c902d5e6a8b4 /src/split.h
parentf5246556adf56ae470a1e898f27ca0fead7d0f7b (diff)
downloadratpoison-24c831b03816bd9821198cc9d24f0cf9e1e7e062.zip
fix swap across multiple screens
exchange_with_frame now always selects the second frame given, simplifying the code (getting rid of segfaults when both were on different screens). This changes the behaviour of cmd_swap to always focus the first argument when two arguments are given. This patch also removes the screen argument of exchange_with_frame, which is now no longer needed (and cmd_swap was giving the wrong screen anyway in the case of multiple arguments given).
Diffstat (limited to 'src/split.h')
-rw-r--r--src/split.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/split.h b/src/split.h
index 8332037..87bb660 100644
--- a/src/split.h
+++ b/src/split.h
@@ -41,7 +41,7 @@ rp_window *current_window (void);
void init_frame_lists (void);
void init_frame_list (rp_screen *screen);
void set_active_frame (rp_frame *frame, int force_indicator);
-void exchange_with_frame (rp_screen *s, rp_frame *cur, rp_frame *frame);
+void exchange_with_frame (rp_frame *cur, rp_frame *frame);
void blank_frame (rp_frame *frame);
void show_frame_indicator (int force);
void hide_frame_indicator (void);