]> git.sur5r.net Git - i3/i3/blobdiff - include/util.h
Merge branch 'release-4.16.1'
[i3/i3] / include / util.h
index d58e21b7d675fd6946988a8c85fae5904c45d956..d08ac69df9cc4205dfcc791b7d8b76f77baa943e 100644 (file)
@@ -125,7 +125,7 @@ void i3_restart(bool forget_layout);
 
 #if defined(__OpenBSD__) || defined(__APPLE__)
 
-/*
+/**
  * Taken from FreeBSD
  * Find the first occurrence of the byte string s in byte string l.
  *
@@ -174,3 +174,9 @@ bool parse_long(const char *str, long *out, int base);
  *
  */
 ssize_t slurp(const char *path, char **buf);
+
+/**
+ * Convert a direction to its corresponding orientation.
+ *
+ */
+orientation_t orientation_from_direction(direction_t direction);