Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

Commit

Permalink
Set the WM_NAME for all the windows.
Browse files Browse the repository at this point in the history
Don't set repeatedly the property for the first window only.
Thanks to @otommod for noticing this.
  • Loading branch information
LemonBoy committed May 22, 2016
1 parent 44a708b commit d680ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemonbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d680ea4

Please sign in to comment.