summaryrefslogtreecommitdiff
path: root/src/actions.c
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 /src/actions.c
parent6fe283da373105f0de7e151c6a6282a5ede92467 (diff)
downloadratpoison-13ec63671c89b35868c9db2cefdf0068b687a79d.zip
* actions.c (cmd_focusleft,cmd_focusright,cmd_focusup,cmd_focusdown): show
currectframe if movement not possible.
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c8
1 files changed, 8 insertions, 0 deletions
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);
}