[hackers] [dwm] also update title if the client is on an unfocused monitor || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Tue, 18 Aug 2009 14:43:02 +0000 (UTC)

changeset: 1482:d4137ac1d940
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Tue Aug 18 15:42:55 2009 +0100
files: dwm.c
description:
also update title if the client is on an unfocused monitor

diff -r b8cfc90d1703 -r d4137ac1d940 dwm.c
--- a/dwm.c Sun Aug 16 21:39:24 2009 +0100
+++ b/dwm.c Tue Aug 18 15:42:55 2009 +0100
@@ -1235,7 +1235,7 @@
                 }
                 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
                         updatetitle(c);
- if(c == selmon->sel)
+ if(c == c->mon->sel)
                                 drawbars();
                 }
         }
Received on Tue Aug 18 2009 - 14:43:02 UTC

This archive was generated by hypermail 2.2.0 : Tue Aug 18 2009 - 14:48:05 UTC