Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied Jukka's cosmetic patch - dwm - [fork] customized build of dwm, the dyn…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 42750a621b3f0786e7fa3d7c9533c03c2a3d189d
parent 8ef465d592fada11dab075bb7569239c03e3afa4
Author: Anselm R Garbe <[email protected]>
Date: Sun, 16 Aug 2009 08:18:54 +0100
applied Jukka's cosmetic patch
Diffstat:
M dwm.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -564,9 +564,9 @@ configurerequest(XEvent *e) {
c->w = ev->width;
if(ev->value_mask & CWHeight)
c->h = ev->height;
- if((c->x - m->mx + c->w) > m->mw && c->isfloating)
+ if((c->x + c->w) > m->mx + m->mw && c->isfloating)
c->x = m->mx + (m->mw / 2 - c->w / 2); /* cent…
- if((c->y - m->my + c->h) > m->mh && c->isfloating)
+ if((c->y + c->h) > m->my + m->mh && c->isfloating)
c->y = m->my + (m->mh / 2 - c->h / 2); /* cent…
if((ev->value_mask & (CWX|CWY)) && !(ev->value_mask & …
configure(c);
t@@ -1595,23 +1595,23 @@ togglefloating(const Arg *arg) {
void
toggletag(const Arg *arg) {
- unsigned int mask;
+ unsigned int newtags;
if(!selmon->sel)
return;
- mask = selmon->sel->tags ^ (arg->ui & TAGMASK);
- if(mask) {
- selmon->sel->tags = mask;
+ newtags = selmon->sel->tags ^ (arg->ui & TAGMASK);
+ if(newtags) {
+ selmon->sel->tags = newtags;
arrange();
}
}
void
toggleview(const Arg *arg) {
- unsigned int mask = selmon->tagset[selmon->seltags] ^ (arg->ui & TAGMA…
+ unsigned int newtagset = selmon->tagset[selmon->seltags] ^ (arg->ui & …
- if(mask) {
- selmon->tagset[selmon->seltags] = mask;
+ if(newtagset) {
+ selmon->tagset[selmon->seltags] = newtagset;
arrange();
}
}
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.