dogamak / xcbars

Bar library created with rust and xcb.
Apache License 2.0
1 stars 1 forks source link

Allow user to change WM_NAME #25

Closed chrisduerr closed 7 years ago

chrisduerr commented 7 years ago

The old way to change _NET_WM_NAME using EWMH didn't work and was always setting a fixed name. Now it uses xcb::change_property to set NET_WM_NAME which seems to work properly according to xprop.

There now also is another property on the BarBuilder called window_title which allows the user to change it.

If the old way of doing things did indeed work and I just didn't understand it properly, I can add it again. But this is how it's done in the examples and it's the only way I get usable results from xprop?.