aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/output.c')
-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 @@
1#include <strings.h>
2#include "sway/tree/container.h"
3#include "sway/tree/layout.h"
4#include "sway/output.h"
5#include "log.h"
6
7struct sway_container *output_by_name(const char *name) {
8 for (int i = 0; i < root_container.children->length; ++i) {
9 struct sway_container *output = root_container.children->items[i];
10 if (strcasecmp(output->name, name) == 0){
11 return output;
12 }
13 }
14 return NULL;
15}