Re: [dev] [dwm] Rotate the list of clients

2011-09-06 Thread Pascal Wittmann
On 09/06/2011 03:11 PM, Pascal Wittmann wrote: > On 09/06/2011 02:57 PM, Bastien Dejean wrote: >> Hi, >> >> Is there any patch to rotate the list of clients? >> E.g. 0 becomes 1, 1 becomes 2, ..., n - 1 becomes 0. >> (Same principle in the opposite direction.) >> >> Sayonara, > > Try this: > > ht

Re: [dev] [dwm] Rotate the list of clients

2011-09-06 Thread Pascal Wittmann
On 09/06/2011 02:57 PM, Bastien Dejean wrote: > Hi, > > Is there any patch to rotate the list of clients? > E.g. 0 becomes 1, 1 becomes 2, ..., n - 1 becomes 0. > (Same principle in the opposite direction.) > > Sayonara, Try this: http://dwm.suckless.org/patches/movestack signature.asc Descr

[dev] [dwm] Rotate the list of clients

2011-09-06 Thread Bastien Dejean
Hi, Is there any patch to rotate the list of clients? E.g. 0 becomes 1, 1 becomes 2, ..., n - 1 becomes 0. (Same principle in the opposite direction.) Sayonara, -- Bastien

Re: [dev] [dwm] Crazy Window Behavior

2011-09-06 Thread Connor Lane Smith
On 6 September 2011 10:29, Bastien Dejean 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

Re: [dev] [dwm] Crazy Window Behavior

2011-09-06 Thread Bastien Dejean
Bogdan Ionuț a écrit : > > > I can bet that it's uselessgap patch related. > > Indeed. > > Is there a rock solid version of that patch floating around? > Try the patch attached. In fact, I'm using this vesion. To fix the aforementioned problem I had to change this line: unsigned int gap = c->

Re: [dev] [dwm] Crazy Window Behavior

2011-09-06 Thread Bogdan Ionuț
On Tue, Sep 6, 2011 at 11:29, Bastien Dejean wrote: > Bogdan Ionuț a écrit : > > On Mon, Sep 5, 2011 at 17:10, Bastien Dejean wrote: > > > don't know if it's a known bug, but I stumble upon this crazy window > > > behavior happening in floating layout. > > > > > > In the following video, I try

Re: [dev] [dwm] Crazy Window Behavior

2011-09-06 Thread Bogdan Ionuț
On Tue, Sep 6, 2011 at 11:29, Bastien Dejean wrote: > Bogdan Ionuț a écrit : > > On Mon, Sep 5, 2011 at 17:10, Bastien Dejean wrote: > > > don't know if it's a known bug, but I stumble upon this crazy window > > > behavior happening in floating layout. > > > > > > In the following video, I try

Re: [dev] [dwm] Crazy Window Behavior

2011-09-06 Thread Bastien Dejean
Bogdan Ionuț a écrit : > On Mon, Sep 5, 2011 at 17:10, Bastien Dejean wrote: > > don't know if it's a known bug, but I stumble upon this crazy window > > behavior happening in floating layout. > > > > In the following video, I try to move and resize the window, then I hit > > MODKEY+space which i