diff options
author | sabetts <sabetts> | 2006-09-26 23:44:36 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-09-26 23:44:36 +0000 |
commit | ad859c2d9b0f19ff55ea016d23a97853ef99b89e (patch) | |
tree | fdd75d9d29e23a21ba6b44cc0af1af257ad234e6 /src/actions.c | |
parent | 7977c0c3508e1437f50a900d827e9259f0b962bf (diff) | |
download | ratpoison-ad859c2d9b0f19ff55ea016d23a97853ef99b89e.zip |
* src/manage.c (update_window_name): return 1 if anything changed. 0 otherwise.
* src/events.c (property_notify): only update the window names if
the window name actually changed.
* src/bar.h (redraw_last_message): new prototype
* src/bar.c (update_bar): update the window list if that's what's
displayed. call redraw_last_message.
(update_window_names): call marked_message_internal.
(marked_message): call marked_message_internal.
(marked_message_internal): ripped body from old marked_message
minus alarm reset.
(redraw_last_message): new function
(show_last_message): call redraw_last_message
* src/actions.c: include ctype.h
(cmd_license): use redraw_last_message
(cmd_help): likewise
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c index d73ad1e..a455b26 100644 --- a/src/actions.c +++ b/src/actions.c @@ -19,6 +19,7 @@ */ #include <unistd.h> +#include <ctype.h> /* for isspace */ #include <sys/wait.h> #include <X11/keysym.h> #include <X11/extensions/XTest.h> @@ -3128,7 +3129,7 @@ cmd_license (int interactive, struct cmdarg **args) /* The help window overlaps the bar, so redraw it. */ if (current_screen()->bar_is_raised) - show_last_message(); + redraw_last_message(); return cmdret_new (RET_SUCCESS, NULL); } @@ -3246,7 +3247,7 @@ cmd_help (int interactive, struct cmdarg **args) /* The help window overlaps the bar, so redraw it. */ if (current_screen()->bar_is_raised) - show_last_message(); + redraw_last_message(); return cmdret_new (RET_SUCCESS, NULL); } |