From: Jason Woofenden Date: Thu, 26 Mar 2015 01:24:49 +0000 (-0400) Subject: monocle: don't resize windows when moving them offscreen X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=a75a352db611b268cdcc02e8d7e93cb73c46face monocle: don't resize windows when moving them offscreen --- 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); } } }