From: Darrin Chandler Date: Sun, 7 Jun 2009 16:40:35 +0000 (+0000) Subject: Rearrange class & name on bar to match quirk config style. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=70f1465ca7c795536afe54ede9ce9bba2d6eafd7;p=spectrwm.git Rearrange class & name on bar to match quirk config style. --- 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)