changeset: 1511:68386bda4854
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Thu Apr 01 19:39:24 2010 +0100
files: dwm.c
description:
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) {
Received on Thu Apr 01 2010 - 18:39:37 UTC
This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 18:48:06 UTC