aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-13 19:46:16 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-13 19:46:16 -0400
commite505abfe75923d06098f6230e5a7ba39c091d3ce (patch)
treefc90bdf0afed21d725f6ee7a9245e397e1577517 /sway/config.c
parent9c8f1fb9649c5673cd6b42230c0784f099a62db7 (diff)
Revert "new_workspace null behavior + testmap functions + regex"
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/sway/config.c b/sway/config.c
index da92030e..23d6ac0d 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -286,28 +286,3 @@ char *do_var_replacement(char *str) {
}
return str;
}
-
-struct workspace_output *wsop_find_workspace(const char *name) {
- int i, len = config->workspace_outputs->length;
- struct workspace_output *wsop;
- for (i = 0; i < len; ++i) {
- wsop = config->workspace_outputs->items[i];
- if (strcasecmp(wsop->workspace, name) == 0) {
- return wsop;
- }
- }
- return NULL;
-}
-
-struct workspace_output *wsop_find_output(const char *name) {
- int i, len = config->workspace_outputs->length;
- struct workspace_output *wsop;
- for (i = 0; i < len; ++i) {
- wsop = config->workspace_outputs->items[i];
- if (strcasecmp(wsop->output, name) == 0) {
- return wsop;
- }
- }
- return NULL;
-}
-