summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-15 19:44:11 +0000
committersabetts <sabetts>2005-01-15 19:44:11 +0000
commit13ec63671c89b35868c9db2cefdf0068b687a79d (patch)
tree36d9cd1b6418ab0677a99a78bc3c3c6aa2b75a97
parent6fe283da373105f0de7e151c6a6282a5ede92467 (diff)
downloadratpoison-13ec63671c89b35868c9db2cefdf0068b687a79d.zip
* actions.c (cmd_focusleft,cmd_focusright,cmd_focusup,cmd_focusdown): show
currectframe if movement not possible.
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog5
-rw-r--r--src/actions.c8
3 files changed, 14 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index ad2e022..aff1dde 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -33,3 +33,4 @@ Sylvain BEUCLER <beuc@beuc.net>
Cameron Patrick <cameron@patrick.wattle.id.au>
Trent Buck <fubarbaz@bigpond.com>
jesus c. meyendriesch <ratpoison-devel@haareambauch.de>
+Bernhard R. Link <brlink@debian.org>
diff --git a/ChangeLog b/ChangeLog
index 61d0832..6460d5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-15 Bernhard R. Link <brlink@debian.org>
+
+ * actions.c (cmd_focusleft,cmd_focusright,cmd_focusup,cmd_focusdown): show
+ currectframe if movement not possible.
+
2005-01-15 Shawn Betts <katia_dilkina@verizon.net>
* src/frame.c (frame_read): correctly determine if the input
diff --git a/src/actions.c b/src/actions.c
index 5ef8d3e..f80d227 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3712,6 +3712,8 @@ cmd_focusup (int interactive, struct cmdarg **args)
if ((frame = find_frame_up (current_frame())))
set_active_frame (frame);
+ else
+ show_frame_indicator();
return cmdret_new (NULL, RET_SUCCESS);
}
@@ -3723,6 +3725,8 @@ cmd_focusdown (int interactive, struct cmdarg **args)
if ((frame = find_frame_down (current_frame())))
set_active_frame (frame);
+ else
+ show_frame_indicator();
return cmdret_new (NULL, RET_SUCCESS);
}
@@ -3734,6 +3738,8 @@ cmd_focusleft (int interactive, struct cmdarg **args)
if ((frame = find_frame_left (current_frame())))
set_active_frame (frame);
+ else
+ show_frame_indicator();
return cmdret_new (NULL, RET_SUCCESS);
}
@@ -3745,6 +3751,8 @@ cmd_focusright (int interactive, struct cmdarg **args)
if ((frame = find_frame_right (current_frame())))
set_active_frame (frame);
+ else
+ show_frame_indicator();
return cmdret_new (NULL, RET_SUCCESS);
}