i3bar: trigger an update after docking a new client

This commit is contained in:
Michael Stapelberg 2011-08-15 15:12:01 +02:00
parent 025dd68f62
commit 6efa7a754d
1 changed files with 4 additions and 0 deletions

View File

@ -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();
} }
} }
} }