]> git.sur5r.net Git - i3/i3/blobdiff - src/floating.c
Add missing MAX macros, ensure that i3 can be compiled without pango
[i3/i3] / src / floating.c
index 231577fd5edf4c5ac83888db12616e45cce95b4f..65a2810a881a1a0c0bbf414b521e3ece59ec0e92 100644 (file)
  */
 #include "all.h"
 
+#ifndef MAX
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
+#endif
+
 /*
  * Calculates sum of heights and sum of widths of all currently active outputs
  *