summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bar/bar.h3
-rw-r--r--include/bar/render.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/bar/bar.h b/include/bar/bar.h
index c20efc55..a3c511d9 100644
--- a/include/bar/bar.h
+++ b/include/bar/bar.h
@@ -32,6 +32,9 @@ struct workspace {
32 bool urgent; 32 bool urgent;
33}; 33};
34 34
35/** Global bar state */
36extern struct bar swaybar;
37
35/** 38/**
36 * Setup bar. 39 * Setup bar.
37 */ 40 */
diff --git a/include/bar/render.h b/include/bar/render.h
index 931a1cdd..114f43f4 100644
--- a/include/bar/render.h
+++ b/include/bar/render.h
@@ -14,4 +14,9 @@ void render(struct output *output, struct config *config, struct status_line *li
14 */ 14 */
15void set_window_height(struct window *window, int height); 15void set_window_height(struct window *window, int height);
16 16
17/**
18 * Compute the size of a workspace name
19 */
20void workspace_button_size(struct window *window, const char *workspace_name, int *width, int *height);
21
17#endif /* _SWAYBAR_RENDER_H */ 22#endif /* _SWAYBAR_RENDER_H */