On 24 May 2011 21:44, Bogdan Ionuț <bog...@punctweb.ro> wrote: > I find out it's related to commit 40ea9ad70440, and this dirty patch seems > to fix my issue. > > --- a/dwm.c 2011-05-24 23:38:52.799999994 +0300 > +++ b/dwm.c 2011-05-24 23:39:40.543000014 +0300 > @@ -582,8 +582,8 @@ clientmessage(XEvent *e) { > } > else if(cme->message_type == netatom[NetActiveWindow]) { > if(!ISVISIBLE(c)) { > - c->mon->seltags ^= 1; > - c->mon->tagset[c->mon->seltags] = c->tags; > + Arg a = { .ui = c->tags }; > + view(&a); > } > pop(c); > }
I don't really see a big difference here. Do you run this in a multi monitor setup by any chance? I imagine problems with this approach in case c->mon != selmon. Best regards, --garbeam