From a75a352db611b268cdcc02e8d7e93cb73c46face Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 25 Mar 2015 21:24:49 -0400 Subject: [PATCH] monocle: don't resize windows when moving them offscreen --- dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index 0a488fa..241c090 100644 --- a/dwm.c +++ b/dwm.c @@ -1205,7 +1205,8 @@ monocle(Monitor *m) { if (c == m->sel) { resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False, 0); } else { - resize(c, m->wx, m->wy - 4000, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False, 0); + // this window is should not be visible. move off top, but don't change h/w + resize(c, m->wx, m->wy - 4000, c->w, c->h, False, 0); } } } -- 1.7.10.4