Properly handle windows unsetting WM_TRANSIENT_FOR (Thanks Janus)

fixes #1351
This commit is contained in:
Michael Stapelberg
2014-08-26 10:00:14 +02:00
parent 9058fc44e6
commit 2fecf57699
4 changed files with 33 additions and 3 deletions

View File

@ -339,6 +339,11 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
ystr(i3string_as_utf8(con->window->name));
}
ystr("transient_for");
if (con->window->transient_for == XCB_NONE)
y(null);
else y(integer, con->window->transient_for);
y(map_close);
}