aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2016-09-01 18:38:52 +0000
committerokan2016-09-01 18:38:52 +0000
commit8e2ecb0f528a4e9068243c7cb5b55d927ddc12f5 (patch)
tree2a8ed2b14764b596ed61f4586d62ae7448856c0b /client.c
parent574d0d0b3a5baa0f3af9163d5ffce6f8ba3f8324 (diff)
downloadcwm-8e2ecb0f528a4e9068243c7cb5b55d927ddc12f5.tar.gz
Do not draw borders on ignored clients when returning from fullscreen;
from Vadim Vygonets.
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files 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 <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;