The command to resize a floating window now checks the minimum and maximum size.

This commit is contained in:
Adrien \"schischi\" Schildknecht
2012-11-22 05:15:49 +01:00
committed by Michael Stapelberg
parent d2b533328d
commit f41fa1baa1
4 changed files with 100 additions and 37 deletions

View 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.