aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-03 12:39:03 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-03 12:40:11 -0400
commitcba258e16ac4d37841b89f2b6a38e1056acae97b (patch)
tree5e74f59544d9150066ad85228ef10c0272e65117 /sway/tree
parent09d448ea2df60b7e4504b1ec4728e7f1df0244b7 (diff)
move output code out of the tree
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/output.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
deleted file mode 100644
index af17b856..00000000
--- a/sway/tree/output.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <strings.h>
-#include "sway/tree/container.h"
-#include "sway/tree/layout.h"
-#include "sway/output.h"
-#include "log.h"
-
-struct sway_container *output_by_name(const char *name) {
- for (int i = 0; i < root_container.children->length; ++i) {
- struct sway_container *output = root_container.children->items[i];
- if (strcasecmp(output->name, name) == 0){
- return output;
- }
- }
- return NULL;
-}