diff options
author | sabetts <sabetts> | 2005-01-15 19:44:11 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-01-15 19:44:11 +0000 |
commit | 13ec63671c89b35868c9db2cefdf0068b687a79d (patch) | |
tree | 36d9cd1b6418ab0677a99a78bc3c3c6aa2b75a97 | |
parent | 6fe283da373105f0de7e151c6a6282a5ede92467 (diff) | |
download | ratpoison-13ec63671c89b35868c9db2cefdf0068b687a79d.zip |
* actions.c (cmd_focusleft,cmd_focusright,cmd_focusup,cmd_focusdown): show
currectframe if movement not possible.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/actions.c | 8 |
3 files changed, 14 insertions, 0 deletions
@@ -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> @@ -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); } |