2009-07-28 13:55:09 +02:00
|
|
|
/*
|
|
|
|
* vim:ts=8:expandtab
|
|
|
|
*
|
|
|
|
* i3 - an improved dynamic tiling window manager
|
|
|
|
*
|
|
|
|
* © 2009 Michael Stapelberg and contributors
|
|
|
|
*
|
|
|
|
* See file LICENSE for license information.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#include <xcb/xcb.h>
|
|
|
|
|
|
|
|
#include "data.h"
|
|
|
|
|
|
|
|
#ifndef _WORKSPACE_H
|
|
|
|
#define _WORKSPACE_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the name (or just its number) for the given workspace. This has to
|
|
|
|
* be called for every workspace as the rendering function
|
|
|
|
* (render_internal_bar) relies on workspace->name and workspace->name_len
|
|
|
|
* being ready-to-use.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void workspace_set_name(Workspace *ws, const char *name);
|
|
|
|
|
2009-08-02 22:31:52 +02:00
|
|
|
/**
|
|
|
|
* Returns true if the workspace is currently visible. Especially important for
|
|
|
|
* multi-monitor environments, as they can have multiple currenlty active
|
|
|
|
* workspaces.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
bool workspace_is_visible(Workspace *ws);
|
|
|
|
|
2009-07-28 13:55:09 +02:00
|
|
|
#endif
|