]> git.sur5r.net Git - i3/i3/blob - include/workspace.h
Some little fixes for bapt’s patch, use predict_text_width, support UTF8, pre-render...
[i3/i3] / include / workspace.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * © 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #include <xcb/xcb.h>
12
13 #include "data.h"
14
15 #ifndef _WORKSPACE_H
16 #define _WORKSPACE_H
17
18 /**
19  * Sets the name (or just its number) for the given workspace. This has to
20  * be called for every workspace as the rendering function
21  * (render_internal_bar) relies on workspace->name and workspace->name_len
22  * being ready-to-use.
23  *
24  */
25 void workspace_set_name(Workspace *ws, const char *name);
26
27 #endif