don’t set names corresponding to debug colors, remove “sleep 1”.

The names were (mostly) internal to i3 anyway.

Hopefully this doesn’t break anything, but I really think this old
behavior needs to go now :).
This commit is contained in:
Michael Stapelberg
2014-07-15 10:35:52 +02:00
parent ee75821699
commit 0d656dd05d
5 changed files with 14 additions and 37 deletions

View File

@ -299,8 +299,10 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
ystr("name");
if (con->window && con->window->name)
ystr(i3string_as_utf8(con->window->name));
else
else if (con->name != NULL)
ystr(con->name);
else
y(null);
if (con->type == CT_WORKSPACE) {
ystr("num");