]> git.sur5r.net Git - i3/i3/blobdiff - include/output.h
Merge branch 'master' into next
[i3/i3] / include / output.h
index e87da22e063b1314bffebb349b6764a079006013..e0125c06f74540d7c6ef96e4d655dd52a139ecc9 100644 (file)
@@ -2,13 +2,12 @@
  * vim:ts=4:sw=4:expandtab
  *
  * i3 - an improved dynamic tiling window manager
- * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
  * output.c: Output (monitor) related functions.
  *
  */
-#ifndef I3_OUTPUT_H
-#define I3_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);