From d680ea4256637bc89d59342cf6ac6c6f5fe62dec Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sun, 22 May 2016 20:09:26 +0200 Subject: [PATCH] Set the WM_NAME for all the windows. Don't set repeatedly the property for the first window only. Thanks to @otommod for noticing this. --- lemonbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemonbar.c b/lemonbar.c index 36fbfb7..f1b7886 100644 --- a/lemonbar.c +++ b/lemonbar.c @@ -1208,7 +1208,7 @@ init (char *wm_name) // Set the WM_NAME atom to the user specified value if (wm_name) - xcb_change_property(c, XCB_PROP_MODE_REPLACE, monhead->window, XCB_ATOM_WM_NAME, XCB_ATOM_STRING, 8 ,strlen(wm_name), wm_name); + xcb_change_property(c, XCB_PROP_MODE_REPLACE, mon->window, XCB_ATOM_WM_NAME, XCB_ATOM_STRING, 8 ,strlen(wm_name), wm_name); } xcb_flush(c);