Re: [dev] [dwm] Crazy Window Behavior

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Tue, 6 Sep 2011 11:43:14 +0100

On 6 September 2011 10:29, Bastien Dejean <eschyle_AT_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
Received on Tue Sep 06 2011 - 12:43:14 CEST

This archive was generated by hypermail 2.2.0 : Tue Sep 06 2011 - 12:48:03 CEST