summaryrefslogtreecommitdiff
path: root/src/bar.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-03-15 07:10:40 +0000
committersabetts <sabetts>2006-03-15 07:10:40 +0000
commit02b004540a364b6aec9332f60c9470df10fc3a2a (patch)
treea2972f9a3da9d724f4308b6dd4fe2a172a871635 /src/bar.h
parentd725c3064f2d914ffecbf35c7770f14c824b0692 (diff)
downloadratpoison-02b004540a364b6aec9332f60c9470df10fc3a2a.zip
* src/bar.c (show_bar): accept a fmt argument. all callers and prototype updated.
(update_bar): just display the last message if bar isn't hidden. (update_window_names): accept a fmt argument. all callers and prototype updated. * src/actions.c (init_user_commands): add optional argument to "info" (cmd_info): handle optional argument (cmd_windows): when called interactively use the argument as the format string.
Diffstat (limited to 'src/bar.h')
-rw-r--r--src/bar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bar.h b/src/bar.h
index 3c0f3ce..4991f76 100644
--- a/src/bar.h
+++ b/src/bar.h
@@ -22,9 +22,9 @@
#ifndef _RATPOISON_BAR_H
#define _RATPOISON_BAR_H 1
-void update_window_names (rp_screen *s);
+void update_window_names (rp_screen *s, char *fmt);
void update_bar (rp_screen *s);
-int show_bar (rp_screen *s);
+int show_bar (rp_screen *s, char *fmt);
int hide_bar (rp_screen *s);
int bar_y (rp_screen *s, int height);
int bar_x (rp_screen *s, int width);