x: Don’t set background color on frame windows, reduces flickering

This commit is contained in:
Michael Stapelberg 2011-07-10 19:58:46 +02:00
parent 64cfb2dbb1
commit 8be26c9a22

View File

@ -52,9 +52,6 @@ Con *con_new(Con *parent, i3Window *window) {
x_con_init(new); x_con_init(new);
// TODO: this needs to be integrated into src/x.c and updated on config file reloads
xcb_change_window_attributes(conn, new->frame, XCB_CW_BACK_PIXEL, &config.client.background);
TAILQ_INIT(&(new->floating_head)); TAILQ_INIT(&(new->floating_head));
TAILQ_INIT(&(new->nodes_head)); TAILQ_INIT(&(new->nodes_head));
TAILQ_INIT(&(new->focus_head)); TAILQ_INIT(&(new->focus_head));