On Sat, Jan 14, 2012 at 12:41:51PM +0100, Eckehard Berns wrote:
> If no problems show up I think this is a better way of dealing with the
> SDL problem.
> 
> -- 
> Eckehard Berns
> 
> diff -r 070112b7435f dwm.c
> --- a/dwm.c   Thu Jan 12 07:36:05 2012 +0100
> +++ b/dwm.c   Sat Jan 14 12:34:59 2012 +0100
> @@ -397,9 +397,10 @@
>               showhide(m->stack);
>       else for(m = mons; m; m = m->next)
>               showhide(m->stack);
> -     if(m)
> +     if(m) {
>               arrangemon(m);
> -     else for(m = mons; m; m = m->next)
> +             restack(m);
> +     } else for(m = mons; m; m = m->next)
>               arrangemon(m);
>  }
>  
> @@ -408,7 +409,6 @@
>       strncpy(m->ltsymbol, m->lt[m->sellt]->symbol, sizeof m->ltsymbol);
>       if(m->lt[m->sellt]->arrange)
>               m->lt[m->sellt]->arrange(m);
> -     restack(m);
>  }
>  
>  void
> @@ -1420,6 +1420,8 @@
>       drawbar(m);
>       if(!m->sel)
>               return;
> +     if(m->sel->isfloating || !m->lt[m->sellt]->arrange)
> +             XRaiseWindow(dpy, m->sel->win);
>       if(m->lt[m->sellt]->arrange) {
>               wc.stack_mode = Below;
>               wc.sibling = m->barwin;


correction to the aforementioned wireshark issue: this patch works for me,
except I don't need it any more since I have a workspace for it now.
+1 for the patch.

could we apply this to tip, soon?

cheers!
mar77i

Reply via email to