# HG changeset patch # User Anselm R Garbe # Date 1270147164 -3600 # Node ID 68386bda4854e69e5271b5316bbe24aa9d24e4a4 # Parent e9c916f6ea15545e1679e9e6342fde2001389025 selmon optimisation is needed diff -r e9c916f6ea15 -r 68386bda4854 dwm.c --- a/dwm.c Thu Apr 01 00:14:15 2010 +0100 +++ b/dwm.c Thu Apr 01 19:39:24 2010 +0100 @@ -815,10 +815,6 @@ 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) {