X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffloating.h;h=c8586527a02cec97898a222138459cac32159469;hb=6241419c86602a999a4766c24edb7b884395e433;hp=884d3cf1fe9df848a5ffdb2f2b9dd8f4e70de1b9;hpb=b235c469c16df64092d4476cb82fd26becb32417;p=i3%2Fi3 diff --git a/include/floating.h b/include/floating.h index 884d3cf1..c8586527 100644 --- a/include/floating.h +++ b/include/floating.h @@ -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.