Re: [dev] Infnite loop in drawbar() when using attachbelow and sending windows between monitors

2020-06-06 Thread Laslo Hunhold
On Sat, 6 Jun 2020 13:11:02 +0200 Hiltjo Posthuma wrote: Dear Hiltjo, > I don't use this patch, but can someone push it to the wiki so anyone > can easily use the fix? I've included the change in both patch-versions, tested it against 6.2 and pushed it into the wiki. With best regards Laslo

Re: [dev] Infnite loop in drawbar() when using attachbelow and sending windows between monitors

2020-06-06 Thread Hiltjo Posthuma
On Thu, Jun 04, 2020 at 01:19:15PM +0200, Jakub Leszczak wrote: > There is a bug in attachbelow patch. > > Change one line inside attachBelow() function. > > - if(c->mon->sel == NULL || c->mon->sel->isfloating) { > + if (c->mon->sel == NULL || c->mon->sel == c || c->mon->sel->isfloating) { > >