JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
ignore client requests to get focus
authorJason Woofenden <jason@jasonwoof.com>
Mon, 17 Nov 2014 22:24:23 +0000 (17:24 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Mon, 17 Nov 2014 22:24:23 +0000 (17:24 -0500)
dwm.c

diff --git a/dwm.c b/dwm.c
index f123400..a04e2b6 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -547,6 +547,7 @@ clientmessage(XEvent *e) {
                                      || (cme->data.l[0] == 2 /* _NET_WM_STATE_TOGGLE */ && !c->isfullscreen)));
        }
        else if(cme->message_type == netatom[NetActiveWindow]) {
                                      || (cme->data.l[0] == 2 /* _NET_WM_STATE_TOGGLE */ && !c->isfullscreen)));
        }
        else if(cme->message_type == netatom[NetActiveWindow]) {
+               return;
                if(!ISVISIBLE(c)) {
                        c->mon->seltags ^= 1;
                        c->mon->tagset[c->mon->seltags] = c->tags;
                if(!ISVISIBLE(c)) {
                        c->mon->seltags ^= 1;
                        c->mon->tagset[c->mon->seltags] = c->tags;