On Thu, Apr 14, 2011 at 07:21:57PM +0200, Anselm R Garbe wrote:
> I still don't like the fact to call view() with some Arg from within
> dwm, will need to improve this. Arg arguments were only intended for
> config.h, but I think we can improve this.
Maybe the patch below is useful for this?
Andreas
diff --git a/dwm.c b/dwm.c
--- a/dwm.c
+++ b/dwm.c
@@ -1288,8 +1288,8 @@
}
else if(cme->message_type == netatom[NetActiveWindow]) {
if(!ISVISIBLE(c)) {
- Arg a = { .ui = c->tags };
- view(&a);
+ selmon->seltags ^= 1;
+ selmon->tagset[selmon->seltags] = c -> tags;
}
detach(c);
attach(c);
Received on Fri Apr 15 2011 - 01:31:39 CEST
This archive was generated by hypermail 2.2.0 : Fri Apr 15 2011 - 01:36:02 CEST