aboutsummaryrefslogtreecommitdiff
path: root/.repos/dwm/dwm.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-07 14:42:21 +0200
committerMarvin Borner2020-08-07 14:42:21 +0200
commit3f6ade1900a3318f0f607621c32bcf69df03498f (patch)
tree01997136a1f9eee63ef4975c5b3895d58abec64c /.repos/dwm/dwm.c
parent7a4bb9c77e0075da24ea0c49db7e756323e9dea3 (diff)
Fixed swallowed window centering
Diffstat (limited to '.repos/dwm/dwm.c')
-rw-r--r--.repos/dwm/dwm.c8
1 files changed, 4 insertions, 4 deletions
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)