From 3f6ade1900a3318f0f607621c32bcf69df03498f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 7 Aug 2020 14:42:21 +0200 Subject: Fixed swallowed window centering --- .repos/dwm/dwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.repos/dwm/dwm.c') diff --git a/.repos/dwm/dwm.c b/.repos/dwm/dwm.c index f08efb0..eb92650 100644 --- a/.repos/dwm/dwm.c +++ b/.repos/dwm/dwm.c @@ -1798,10 +1798,10 @@ showhide(Client *c) if (!c) return; if (ISVISIBLE(c)) { - if ((c->tags & SPTAGMASK) && c->isfloating) { - c->x = c->mon->wx + (c->mon->ww / 2 - WIDTH(c) / 2); - c->y = c->mon->wy + (c->mon->wh / 2 - HEIGHT(c) / 2); - } + /* if ((c->tags & SPTAGMASK) && c->isfloating) { */ + /* c->x = c->mon->wx + (c->mon->ww / 2 - WIDTH(c) / 2); */ + /* c->y = c->mon->wy + (c->mon->wh / 2 - HEIGHT(c) / 2); */ + /* } */ /* show clients top down */ XMoveWindow(dpy, c->win, c->x, c->y); if ((!c->mon->lt[c->mon->sellt]->arrange || c->isfloating) && !c->isfullscreen) -- cgit v1.2.3