changeset: 2116:32c73fb5bde9
user: Kris Maglione <jg_AT_suckless.org>
date: Sun Apr 22 01:04:55 2007 -0400
summary: Update the class string when updating the title.
diff -r 5a47cca0759a -r 32c73fb5bde9 cmd/wmii/client.c
--- a/cmd/wmii/client.c Sun Apr 22 00:31:47 2007 -0400
+++ b/cmd/wmii/client.c Sun Apr 22 01:04:55 2007 -0400
@@ -13,8 +13,7 @@ static void update_client_name(Client *c
static void update_client_name(Client *c);
static Handlers handlers;
-static char Ebadcmd[] = "bad command",
- Ebadvalue[] = "bad value";
+static char Ebadcmd[] = "bad command";
Rectangle gravclient(Client*, Rectangle);
@@ -410,6 +409,8 @@ update_client_name(Client *c) {
if(str)
utfecpy(c->name, c->name+sizeof(c->name), str);
free(str);
+
+ update_class(c);
}
void
Received on Fri Jun 01 2007 - 03:10:02 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:03 UTC