summaryrefslogtreecommitdiff
path: root/bar.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-08-31 02:40:43 +0000
committersabetts <sabetts>2000-08-31 02:40:43 +0000
commit80d7ae36215ca93f4b82c8fb87d1017b9f3bdc90 (patch)
treee3175df9c59e0440751d7a5dcba5e5aff870408d /bar.c
parentb86e0c298d6881fe1a79ab4bb592aefb47147817 (diff)
downloadratpoison-80d7ae36215ca93f4b82c8fb87d1017b9f3bdc90.zip
made bar_x and bar_y global so I could use them in input.c.
Diffstat (limited to 'bar.c')
-rw-r--r--bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bar.c b/bar.c
index d6e6908..d06dcc8 100644
--- a/bar.c
+++ b/bar.c
@@ -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;