Fixing continuous resize bug in floating mode

fixes #910
This commit is contained in:
Marius Muja 2013-01-02 01:19:38 -08:00 committed by Michael Stapelberg
parent 3365b52384
commit bfd150872d
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ static void handle_configure_request(xcb_configure_request_event_t *event) {
if (fullscreen != con && con_is_floating(con) && con_is_leaf(con)) { if (fullscreen != con && con_is_floating(con) && con_is_leaf(con)) {
/* find the height for the decorations */ /* find the height for the decorations */
int deco_height = config.font.height + 5; int deco_height = con->deco_rect.height;
/* we actually need to apply the size/position changes to the *parent* /* we actually need to apply the size/position changes to the *parent*
* container */ * container */
Rect bsr = con_border_style_rect(con); Rect bsr = con_border_style_rect(con);