]> git.sur5r.net Git - i3/i3/blobdiff - include/resize.h
Merge pull request #3435 from vivien/i3-msg/subscribe
[i3/i3] / include / resize.h
index 758cb4a1a28376f5e4bdd4d9d8c1ccc305fc5742..72dffc0f55a5d66c68d376938945832dea936d9e 100644 (file)
@@ -25,6 +25,13 @@ void resize_graphical_handler(Con *first, Con *second, orientation_t orientation
  */
 bool resize_neighboring_cons(Con *first, Con *second, int px, int ppt);
 
+/**
+ * Calculate the minimum percent needed for the given container to be at least 1
+ * pixel.
+ *
+ */
+double percent_for_1px(Con *con);
+
 /**
  * Calculate the given container's new percent given a change in pixels.
  *