From e505abfe75923d06098f6230e5a7ba39c091d3ce Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Sep 2015 19:46:16 -0400 Subject: Revert "new_workspace null behavior + testmap functions + regex" This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len --- include/workspace.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'include/workspace.h') diff --git a/include/workspace.h b/include/workspace.h index 3a63ea38..7343b055 100644 --- a/include/workspace.h +++ b/include/workspace.h @@ -7,17 +7,13 @@ extern char *prev_workspace_name; -// Search for available workspace name on output from config -const char *workspace_output_open_name(swayc_t *output); -// Search for any available workspace name -const char *workspace_next_name(void); - - +char *workspace_next_name(void); +swayc_t *workspace_create(const char*); swayc_t *workspace_by_name(const char*); void workspace_switch(swayc_t*); -swayc_t *workspace_output_next(void); -swayc_t *workspace_next(void); -swayc_t *workspace_output_prev(void); -swayc_t *workspace_prev(void); +swayc_t *workspace_output_next(); +swayc_t *workspace_next(); +swayc_t *workspace_output_prev(); +swayc_t *workspace_prev(); #endif -- cgit v1.2.3