On map, don't warp to windows that are marked as ignored.

Requested by Christian Neukirchen last august. He provided a patch but the one I
wrote was significantly simpler (1 - 2 + in the whole diff).

makes sense to okan@.
This commit is contained in:
oga 2011-05-06 19:39:44 +00:00
parent 604a5d07a4
commit 760c6b5522

View File

@ -90,8 +90,8 @@ xev_handle_maprequest(XEvent *ee)
if (strncasecmp(wm->title, cc->name, strlen(wm->title)) == 0)
return;
}
client_ptrwarp(cc);
if ((cc->flags & CLIENT_IGNORE) == 0)
client_ptrwarp(cc);
}
static void