--- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index bd25d10..2c20478 100644 --- a/dwm.c +++ b/dwm.c _AT_@ -542,7 +542,7 @@ clientmessage(XEvent *e) { setfullscreen(c, (cme->data.l[0] == 1 /* _NET_WM_STATE_ADD */ || (cme->data.l[0] == 2 /* _NET_WM_STATE_TOGGLE */ && !c->isfullscreen))); } - else if(cme->message_type == netatom[NetActiveWindow]) { + else if(cme->message_type == netatom[NetActiveWindow] && cme->data.l[0] == 2) { if(!ISVISIBLE(c)) { c->mon->seltags ^= 1; c->mon->tagset[c->mon->seltags] = c->tags; -- 1.8.1.2 --envbJBWh7q8WU6mo--Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Mar 10 2013 - 13:12:02 CET