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:
parent
44a708b7a4
commit
d680ea4256
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user