From: Anselm R Garbe Date: Thu, 1 Apr 2010 18:39:24 +0000 (+0100) Subject: selmon optimisation is needed X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=a88e0373efe5f6800a99fca2c228be98b522aaa9;ds=sidebyside selmon optimisation is needed --- diff --git a/dwm.c b/dwm.c index b1f77cc..ac534a8 100644 --- a/dwm.c +++ b/dwm.c @@ -815,10 +815,6 @@ void focus(Client *c) { if(!c || !ISVISIBLE(c)) for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); - if(c && c == selmon->sel) { - D fprintf(stderr, "focus, optimising focus away\n"); - return; - } if(selmon->sel) unfocus(selmon->sel); if(c) {