summaryrefslogtreecommitdiff
path: root/src/bar.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-09 23:04:10 +0000
committersabetts <sabetts>2003-05-09 23:04:10 +0000
commit24d5148b3ece4ff8d8c9ac1ec4be34fdd0b237bb (patch)
treec4bb301ed9d7413ccea733d6fff29aa742aadc51 /src/bar.h
parent41016f3a7577fbf35db849b9937ee22ee02e5760 (diff)
downloadratpoison-24d5148b3ece4ff8d8c9ac1ec4be34fdd0b237bb.zip
* src/split.c (split_frame): call update_bar() instead of
update_window_names(). (set_active_frame): likewise (blank_frame): likewise * src/bar.h (update_bar): new prototype. * src/bar.c (BAR_IS_HIDDEN): new define. (update_bar): new function. * src/actions.c (cmd_frestore): call update_bar() instead of update_window_names(). * src/split.c (set_active_frame): update the window list after switching frames. (blank_frame): update the window list after blanking the screen. * src/actions.c (cmd_frestore): update the window list after restoring the frames. * src/split.c (split_frame): update the window list after the split.
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 23da5a7..e89aff8 100644
--- a/src/bar.h
+++ b/src/bar.h
@@ -23,6 +23,7 @@
#define _RATPOISON_BAR_H 1
void update_window_names (screen_info *s);
+void update_bar (screen_info *s);
int show_bar (screen_info *s);
int hide_bar (screen_info *s);
int bar_y (screen_info *s, int height);