summaryrefslogtreecommitdiff
path: root/src/bar.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-09-26 23:44:36 +0000
committersabetts <sabetts>2006-09-26 23:44:36 +0000
commitad859c2d9b0f19ff55ea016d23a97853ef99b89e (patch)
treefdd75d9d29e23a21ba6b44cc0af1af257ad234e6 /src/bar.h
parent7977c0c3508e1437f50a900d827e9259f0b962bf (diff)
downloadratpoison-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/bar.h')
-rw-r--r--src/bar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bar.h b/src/bar.h
index f5a4110..2156802 100644
--- a/src/bar.h
+++ b/src/bar.h
@@ -32,6 +32,7 @@ int bar_x (rp_screen *s, int width);
void message (char *s);
void marked_message (char *s, int mark_start, int mark_end);
void marked_message_printf (int mark_start, int mark_end, char *fmt, ...);
+void redraw_last_message (void);
void show_last_message (void);
void free_bar (void);