]> git.sur5r.net Git - i3/i3/blob - include/workspace.h
Bugfix: Don’t hide assigned clients to inactive but visible workspaces (Thanks xeen)
[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 /**
28  * Returns true if the workspace is currently visible. Especially important for
29  * multi-monitor environments, as they can have multiple currenlty active
30  * workspaces.
31  *
32  */
33 bool workspace_is_visible(Workspace *ws);
34
35 #endif