Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied lolilolicon's floating center patch, further investigation wrt his sec…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit d5c5c52b306be5509422d7074d7416df0d425d08
parent d0b4575bf47bb848b09edbd5c5a0f27e889a976a
Author: [email protected] <unknown>
Date: Wed, 20 Jul 2011 18:33:19 +0000
applied lolilolicon's floating center patch, further investigation wrt his seco…
Diffstat:
M dwm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -632,9 +632,9 @@ configurerequest(XEvent *e) {
c->h = ev->height;
}
if((c->x + c->w) > m->mx + m->mw && c->isfloating)
- c->x = m->mx + (m->mw / 2 - c->w / 2); /* cent…
+ c->x = m->mx + (m->mw / 2 - WIDTH(c) / 2); /* …
if((c->y + c->h) > m->my + m->mh && c->isfloating)
- c->y = m->my + (m->mh / 2 - c->h / 2); /* cent…
+ c->y = m->my + (m->mh / 2 - HEIGHT(c) / 2); /*…
if((ev->value_mask & (CWX|CWY)) && !(ev->value_mask & …
configure(c);
if(ISVISIBLE(c))
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.