]> git.sur5r.net Git - i3/i3/blobdiff - include/floating.h
The command to resize a floating window now checks the minimum and maximum size.
[i3/i3] / include / floating.h
index 884d3cf1fe9df848a5ffdb2f2b9dd8f4e70de1b9..e07897a01bd9d760d24e45ddbe073849f5936b29 100644 (file)
@@ -99,6 +99,14 @@ void floating_drag_window(Con *con, const xcb_button_press_event_t *event);
  */
 void floating_resize_window(Con *con, const bool proportional, const xcb_button_press_event_t *event);
 
+/**
+ * Called when the windows is created or resized
+ * This function resize the windows if is size if higher or lower to the
+ * limits.
+ *
+ */
+void floating_checkSize(Con *floating_con);
+
 #if 0
 /**
  * Changes focus in the given direction for floating clients.