From: Michael Stapelberg Date: Mon, 15 Aug 2011 13:12:01 +0000 (+0200) Subject: i3bar: trigger an update after docking a new client X-Git-Tag: 4.1~209^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6efa7a754d5120a207b2dc8af0efdafdff64c450;p=i3%2Fi3 i3bar: trigger an update after docking a new client --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 35d90f77..29b31aef 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -418,6 +418,10 @@ void handle_client_message(xcb_client_message_event_t* event) { xcb_map_window(xcb_connection, client); /* XXX: We assume that icons are quadratic. Is that so? */ output->traypx += font_height; + + /* Trigger an update to copy the statusline text to the appropriate + * position */ + draw_bars(); } } }