summaryrefslogtreecommitdiffstats
path: root/include/bar/bar.h
diff options
context:
space:
mode:
authorLibravatar David Eklov <david.eklov@gmail.com>2016-07-10 22:47:10 -0500
committerLibravatar David Eklov <david.eklov@gmail.com>2016-07-14 17:18:01 -0500
commitc805e42635f3935ccf0ce927143433b94c78a3e7 (patch)
treee5b5a1da0669ab99d8a9ee32d4146689d72de87d /include/bar/bar.h
parentSetup to receive mouse click events and log them (diff)
downloadsway-c805e42635f3935ccf0ce927143433b94c78a3e7.tar.gz
sway-c805e42635f3935ccf0ce927143433b94c78a3e7.tar.zst
sway-c805e42635f3935ccf0ce927143433b94c78a3e7.zip
Extract workspace size computation from render_workspace_button()
Also remove some unnecessary strtup()s and rename a few variables and functions.
Diffstat (limited to 'include/bar/bar.h')
-rw-r--r--include/bar/bar.h3
1 files changed, 3 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 */