From 8fec4e164d92abf4b268efac73ab677cf68fb9db Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Fri, 7 Feb 2020 18:53:42 +0000 Subject: Allow the 'empty' group clients to be window-{h,v}tile'd. Behaviour (or lack there of) noticed by Raf Czlonka. --- app/cwm/client.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'app') diff --git a/app/cwm/client.c b/app/cwm/client.c index 8c381e590..0b5f4b779 100644 --- a/app/cwm/client.c +++ b/app/cwm/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.255 2019/03/07 14:28:17 okan Exp $ + * $OpenBSD: client.c,v 1.256 2020/02/07 18:53:41 okan Exp $ */ #include @@ -971,10 +971,7 @@ client_htile(struct client_ctx *cc) struct geom area; int i, n, mh, x, w, h; - if (!cc->gc) - return; i = n = 0; - area = screen_area(sc, cc->geom.x + cc->geom.w / 2, cc->geom.y + cc->geom.h / 2, CWM_GAP); @@ -1042,10 +1039,7 @@ client_vtile(struct client_ctx *cc) struct geom area; int i, n, mw, y, w, h; - if (!cc->gc) - return; i = n = 0; - area = screen_area(sc, cc->geom.x + cc->geom.w / 2, cc->geom.y + cc->geom.h / 2, CWM_GAP); -- cgit v1.2.3