--- a/dwm.c Tue Aug 24 13:13:20 2010 +0100 +++ b/dwm.c Sat Sep 11 19:00:18 2010 +0000 @@ -799,7 +799,7 @@ unfocus(selmon->sel, True); selmon = m; } - focus(wintoclient(ev->window)); + focus((wintoclient(ev->window))); } void