Re: [dev] dwm: bug in fullscreen mode (SDL?)

From: Martti Kühne <mysatyre_AT_gmail.com>
Date: Sun, 15 Jan 2012 16:58:49 +0100

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
> _AT_@ -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);
> }
>
> _AT_@ -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
> _AT_@ -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
Received on Sun Jan 15 2012 - 16:58:49 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 15 2012 - 17:00:04 CET