From f6eaa8a5807a43f3c682e1e7b25be9eafa06cce2 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 17 Sep 2011 14:09:57 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20use=20top=20border=20h?= =?utf8?q?eight=20twice=20when=20calculating=20dimensions=20for=20floating?= =?utf8?q?=20windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/floating.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floating.c b/src/floating.c index 0266dfa2..15ff23fc 100644 --- a/src/floating.c +++ b/src/floating.c @@ -122,7 +122,7 @@ void floating_enable(Con *con, bool automatic) { /* add pixels for the decoration */ /* TODO: don’t add them when the user automatically puts new windows into * 1pixel/borderless mode */ - nc->rect.height += deco_height + 4; + nc->rect.height += deco_height + 2; nc->rect.width += 4; /* Some clients (like GIMP’s color picker window) get mapped -- 2.39.5