$OpenBSD: patch-src_con_c,v 1.10 2013/05/17 10:21:42 dcoppa Exp $

commit 0901720a24fde4503e5d2071f7c180531b2a634b
Author: Michael Stapelberg <michael@stapelberg.de>
Date:   Tue Apr 2 23:59:26 2013 +0200

Bugfix: fix floating window size with hide_edge_borders

--- src/con.c.orig	Mon Mar 18 22:43:36 2013
+++ src/con.c	Fri May 17 10:50:32 2013
@@ -1079,6 +1079,12 @@ Rect con_border_style_rect(Con *con) {
     } else {
         result = (Rect){border_width, border_width, -(2 * border_width), -(2 * border_width)};
     }
+
+    /* Floating windows are never adjacent to any other window, so
+       don't hide their border(s). This prevents bug #998. */
+    if (con_is_floating(con))
+      return result;
+
     if (borders_to_hide & ADJ_LEFT_SCREEN_EDGE) {
         result.x -= border_width;
         result.width += border_width;
