diff options
author | okan | 2016-09-01 18:38:52 +0000 |
---|---|---|
committer | okan | 2016-09-01 18:38:52 +0000 |
commit | 8e2ecb0f528a4e9068243c7cb5b55d927ddc12f5 (patch) | |
tree | 2a8ed2b14764b596ed61f4586d62ae7448856c0b | |
parent | 574d0d0b3a5baa0f3af9163d5ffce6f8ba3f8324 (diff) | |
download | cwm-8e2ecb0f528a4e9068243c7cb5b55d927ddc12f5.tar.gz |
Do not draw borders on ignored clients when returning from fullscreen;
from Vadim Vygonets.
Diffstat (limited to '')
-rw-r--r-- | client.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |