i3bar: kick tray clients after output configuration changed

This makes i3bar reflect xrandr --output foo --primary changes immediately.
This commit is contained in:
Michael Stapelberg
2012-04-22 20:43:52 +02:00
parent 189b27b01e
commit 17e4d7ede1
3 changed files with 39 additions and 11 deletions

View File

@ -65,6 +65,11 @@ void got_output_reply(char *reply) {
DLOG("Reconfiguring Windows...\n");
realloc_sl_buffer();
reconfig_windows();
i3_output *o_walk;
SLIST_FOREACH(o_walk, outputs, slist) {
kick_tray_clients(o_walk);
}
}
/*