diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2016-09-01 18:38:53 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2016-09-01 18:38:53 +0000 |
commit | b4d7a3448405d273e426e0daf241a2961994026a (patch) | |
tree | 14830f5d39896f698ced3702d75e4f62f520c7e6 /app | |
parent | 7d46fc1a8c96d5ba3efaf47fa6602de390030b85 (diff) |
Do not draw borders on ignored clients when returning from fullscreen;
from Vadim Vygonets.
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index d3f4aad70..0efd4b1d8 100644 --- a/app/cwm/client.c +++ b/app/cwm/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 <sys/types.h> @@ -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; |