diff options
author | sabetts <sabetts> | 2000-08-31 02:40:43 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-31 02:40:43 +0000 |
commit | 80d7ae36215ca93f4b82c8fb87d1017b9f3bdc90 (patch) | |
tree | e3175df9c59e0440751d7a5dcba5e5aff870408d | |
parent | b86e0c298d6881fe1a79ab4bb592aefb47147817 (diff) | |
download | ratpoison-80d7ae36215ca93f4b82c8fb87d1017b9f3bdc90.zip |
made bar_x and bar_y global so I could use them in input.c.
-rw-r--r-- | bar.c | 4 | ||||
-rw-r--r-- | bar.h | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -84,14 +84,14 @@ calc_bar_width (XFontStruct *font) return size; } -static int +int bar_x (screen_info *s, int width) { if (BAR_LOCATION >= 2) return s->root_attr.width - width; else return 0; } -static int +int bar_y (screen_info *s) { if (BAR_LOCATION % 2) return 0; @@ -24,4 +24,6 @@ void update_window_names (screen_info *s); void toggle_bar (screen_info *s); int show_bar (screen_info *s); int hide_bar (screen_info *s); +int bar_y (screen_info *s); +int bar_x (screen_info *s, int width); #endif _BAR_H |