]> git.sur5r.net Git - i3/i3/blobdiff - include/floating.h
Merge branch 'master' into next
[i3/i3] / include / floating.h
index 884d3cf1fe9df848a5ffdb2f2b9dd8f4e70de1b9..c8586527a02cec97898a222138459cac32159469 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 a floating window is created or resized.
+ * This function resizes the window if its size is higher or lower than the
+ * configured maximum/minimum size, respectively.
+ *
+ */
+void floating_check_size(Con *floating_con);
+
 #if 0
 /**
  * Changes focus in the given direction for floating clients.