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.
This commit is contained in:
LemonBoy 2016-05-22 20:09:26 +02:00
parent 44a708b7a4
commit d680ea4256
1 changed files with 1 additions and 1 deletions

View File

@ -1208,7 +1208,7 @@ init (char *wm_name)
// Set the WM_NAME atom to the user specified value // Set the WM_NAME atom to the user specified value
if (wm_name) 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); xcb_flush(c);