Do not draw borders on ignored clients when returning from fullscreen;

from Vadim Vygonets.
This commit is contained in:
okan 2016-09-01 18:38:52 +00:00
parent 4cf9a34b65
commit 44f3fefe11

View File

@ -297,6 +297,7 @@ client_toggle_fullscreen(struct client_ctx *cc)
return; return;
if (cc->flags & CLIENT_FULLSCREEN) { if (cc->flags & CLIENT_FULLSCREEN) {
if (!(cc->flags & CLIENT_IGNORE))
cc->bwidth = Conf.bwidth; cc->bwidth = Conf.bwidth;
cc->geom = cc->fullgeom; cc->geom = cc->fullgeom;
cc->flags &= ~(CLIENT_FULLSCREEN | CLIENT_FREEZE); cc->flags &= ~(CLIENT_FULLSCREEN | CLIENT_FREEZE);