From 70f1465ca7c795536afe54ede9ce9bba2d6eafd7 Mon Sep 17 00:00:00 2001 From: Darrin Chandler Date: Sun, 7 Jun 2009 16:40:35 +0000 Subject: [PATCH] Rearrange class & name on bar to match quirk config style. --- scrotwm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scrotwm.c b/scrotwm.c index 210a1ff..6c47e65 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -800,12 +800,12 @@ bar_update(void) status = XGetClassHint(display, cur_focus->id, xch); if (status == BadWindow || status == BadAlloc) goto out; - if (title_name_enabled) - strlcat(s, xch->res_name, sizeof s); - if (title_name_enabled && title_class_enabled) - strlcat(s, " ", sizeof s); if (title_class_enabled) strlcat(s, xch->res_class, sizeof s); + if (title_name_enabled && title_class_enabled) + strlcat(s, ":", sizeof s); + if (title_name_enabled) + strlcat(s, xch->res_name, sizeof s); } out: if (xch) -- 1.7.10.4