mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Extract workspace size computation from render_workspace_button()
Also remove some unnecessary strtup()s and rename a few variables and functions.
This commit is contained in:
parent
103954dd2b
commit
c805e42635
3 changed files with 27 additions and 15 deletions
|
|
@ -32,6 +32,9 @@ struct workspace {
|
|||
bool urgent;
|
||||
};
|
||||
|
||||
/** Global bar state */
|
||||
extern struct bar swaybar;
|
||||
|
||||
/**
|
||||
* Setup bar.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue