From 8e2ecb0f528a4e9068243c7cb5b55d927ddc12f5 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 1 Sep 2016 18:38:52 +0000 Subject: Do not draw borders on ignored clients when returning from fullscreen; from Vadim Vygonets. --- client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index d3f4aad..0efd4b1 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.215 2016/09/01 18:34:04 okan Exp $ + * $OpenBSD: client.c,v 1.216 2016/09/01 18:38:52 okan Exp $ */ #include @@ -297,7 +297,8 @@ client_toggle_fullscreen(struct client_ctx *cc) return; if (cc->flags & CLIENT_FULLSCREEN) { - cc->bwidth = Conf.bwidth; + if (!(cc->flags & CLIENT_IGNORE)) + cc->bwidth = Conf.bwidth; cc->geom = cc->fullgeom; cc->flags &= ~(CLIENT_FULLSCREEN | CLIENT_FREEZE); goto resize; -- cgit v1.2.3-2-gb3c3