[hackers] [dwm] applied Hiltjo Posthuma's line saver patch || anselm

From: <hg_AT_suckless.org>
Date: Mon, 23 Aug 2010 16:25:57 +0000 (UTC)

changeset: 1523:26f81e0f1eb3
tag: tip
user: anselm_AT_garbe.us
date: Mon Aug 23 17:25:53 2010 +0100
files: dwm.c
description:
applied Hiltjo Posthuma's line saver patch

diff -r 0d86faf4b05c -r 26f81e0f1eb3 dwm.c
--- a/dwm.c Sun Jul 25 09:58:25 2010 +0100
+++ b/dwm.c Mon Aug 23 17:25:53 2010 +0100
@@ -790,7 +790,6 @@
 
 void
 enternotify(XEvent *e) {
- Client *c;
         Monitor *m;
         XCrossingEvent *ev = &e->xcrossing;
 
@@ -800,10 +799,7 @@
                 unfocus(selmon->sel, True);
                 selmon = m;
         }
- if((c = wintoclient(ev->window)))
- focus(c);
- else
- focus(NULL);
+ focus(wintoclient(ev->window));
 }
 
 void
Received on Mon Aug 23 2010 - 18:25:57 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 23 2010 - 18:36:05 CEST