On 6 September 2011 10:29, Bastien Dejean <esch...@gmail.com> wrote: > unsigned int gap = (c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) ? 0 > : c->mon->lt[c->mon->sellt]->addgaps ? gappx : 0;
Having to check (c->isfloating || !lt->arrange) everywhere seems like a source of potential bugs. In fact, like 352 of vanilla dwm has such a bug: < if(resizehints || c->isfloating) { > if(resizehints || c->isfloating || !c->mon->lt[c->mon->sellt]->arrange) { But I think this is a symptom to a greater problem. Maybe a macro or something might help. cls