[dwm] [PATCH] rules fix

From: Enno \ <gottox_AT_gmail.com>
Date: Sat, 19 Apr 2008 14:20:42 +0200

Hi!

I discovered, that dwm has a small bug when it apply rules to a window with
ch.res_class and ch.res_name set to NULL.
xev for example has neither a class nor an instance name. That causes that
the following rule will match for xev.

{ "Minefield", "Navigator", NULL,> tags[2],> False }

I attached a patch which fixes this issue. It's already included in dwm-gtx.

regards
Gottox

-- 
http://www.gnuffy.org - Real Community Distro
http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)

Received on Sat Apr 19 2008 - 14:20:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:34:07 UTC