]> git.sur5r.net Git - i3/i3/blobdiff - include/output.h
travis: install more perl dependencies, pull in trusty packages
[i3/i3] / include / output.h
index d488ad30c4baef8b67c7654bd4da0ddccffead3b..6514c477fc7f5ca01b5e9e6daec629eb2877743d 100644 (file)
@@ -7,8 +7,7 @@
  * output.c: Output (monitor) related functions.
  *
  */
-#ifndef _OUTPUT_H
-#define _OUTPUT_H
+#pragma once
 
 /**
  * Returns the output container below the given output container.
@@ -16,4 +15,9 @@
  */
 Con *output_get_content(Con *output);
 
-#endif
+/**
+ * Returns an 'output' corresponding to one of left/right/down/up or a specific
+ * output name.
+ *
+ */
+Output *get_output_from_string(Output *current_output, const char *output_str);