summaryrefslogtreecommitdiff
path: root/debian/patches/brl-enlarge.diff
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2009-10-30 19:05:19 +0100
committerBernhard R. Link <brlink@debian.org>2009-10-30 19:36:11 +0100
commit66f1644c881d8388015016d082e6c8643959fb8c (patch)
tree1c9ba86e0e7057ee78e19d87b5469e3b37ad74cf /debian/patches/brl-enlarge.diff
parenta9578d667935a6206622e01707cb3cd14d1b112b (diff)
downloadratpoison-66f1644c881d8388015016d082e6c8643959fb8c.zip
update debian/
- to include changes for 1.4.5-2 - to update patches to apply to current git - list explicit commands in debian/README.source how to build from git
Diffstat (limited to 'debian/patches/brl-enlarge.diff')
-rw-r--r--debian/patches/brl-enlarge.diff13
1 files changed, 8 insertions, 5 deletions
diff --git a/debian/patches/brl-enlarge.diff b/debian/patches/brl-enlarge.diff
index fb06b22..513faee 100644
--- a/debian/patches/brl-enlarge.diff
+++ b/debian/patches/brl-enlarge.diff
@@ -1,3 +1,6 @@
+Author: Bernhard R. Link <brlink@debian.org>
+Subject: add removeleft/up/right/down commands
+
This patch adds new removeleft/up/right/down commands to extend the current
frame in the given direction, removing all frames in the way.
Default key-bindings are C-t M-arrow-keys.
@@ -80,7 +83,7 @@ Index: ratpoison-1.4.4/src/actions.c
}
cmdret *
-+cmd_removeup (int interactive, struct cmdarg **args)
++cmd_removeup (int interactive UNUSED, struct cmdarg **args UNUSED)
+{
+ push_frame_undo (current_screen()); /* fdump to stack */
+ enlarge_frame_up (current_frame(), 1);
@@ -88,7 +91,7 @@ Index: ratpoison-1.4.4/src/actions.c
+}
+
+cmdret *
-+cmd_removedown (int interactive, struct cmdarg **args)
++cmd_removedown (int interactive UNUSED, struct cmdarg **args UNUSED)
+{
+ push_frame_undo (current_screen()); /* fdump to stack */
+ enlarge_frame_down (current_frame(), 1);
@@ -96,7 +99,7 @@ Index: ratpoison-1.4.4/src/actions.c
+}
+
+cmdret *
-+cmd_removeleft (int interactive, struct cmdarg **args)
++cmd_removeleft (int interactive UNUSED, struct cmdarg **args UNUSED)
+{
+ push_frame_undo (current_screen()); /* fdump to stack */
+ enlarge_frame_left (current_frame(), 1);
@@ -104,7 +107,7 @@ Index: ratpoison-1.4.4/src/actions.c
+}
+
+cmdret *
-+cmd_removeright (int interactive, struct cmdarg **args)
++cmd_removeright (int interactive UNUSED, struct cmdarg **args UNUSED)
+{
+ push_frame_undo (current_screen()); /* fdump to stack */
+ enlarge_frame_right (current_frame(), 1);
@@ -112,7 +115,7 @@ Index: ratpoison-1.4.4/src/actions.c
+}
+
+cmdret *
- cmd_shrink (int interactive, struct cmdarg **args)
+ cmd_shrink (int interactive UNUSED, struct cmdarg **args UNUSED)
{
push_frame_undo (current_screen()); /* fdump to stack */
Index: ratpoison-1.4.4/src/actions.h