]> git.sur5r.net Git - i3/i3/blobdiff - include/output.h
make i3-nagbar work properly on hi-dpi displays
[i3/i3] / include / output.h
index e87da22e063b1314bffebb349b6764a079006013..6514c477fc7f5ca01b5e9e6daec629eb2877743d 100644 (file)
@@ -7,8 +7,7 @@
  * 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);