i3bar: trigger an update after docking a new client
This commit is contained in:
parent
025dd68f62
commit
6efa7a754d
|
@ -418,6 +418,10 @@ void handle_client_message(xcb_client_message_event_t* event) {
|
||||||
xcb_map_window(xcb_connection, client);
|
xcb_map_window(xcb_connection, client);
|
||||||
/* XXX: We assume that icons are quadratic. Is that so? */
|
/* XXX: We assume that icons are quadratic. Is that so? */
|
||||||
output->traypx += font_height;
|
output->traypx += font_height;
|
||||||
|
|
||||||
|
/* Trigger an update to copy the statusline text to the appropriate
|
||||||
|
* position */
|
||||||
|
draw_bars();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue