don’t close workspaces which are still visible (multi-monitor)

This commit is contained in:
Michael Stapelberg
2010-11-12 17:34:13 +01:00
parent c1d574f84e
commit c6c084faa5
2 changed files with 15 additions and 7 deletions

View File

@ -34,6 +34,7 @@ Con *workspace_get(const char *num);
*
*/
void workspace_set_name(Workspace *ws, const char *name);
#endif
/**
* Returns true if the workspace is currently visible. Especially important for
@ -41,9 +42,8 @@ void workspace_set_name(Workspace *ws, const char *name);
* workspaces.
*
*/
bool workspace_is_visible(Workspace *ws);
bool workspace_is_visible(Con *ws);
#endif
/** Switches to the given workspace */
void workspace_show(const char *num);