window_configure(w, cev->x, cev->y,
cev->width, cev->height,
cev->border_width);
- if (window_is_mapped(w))
- sc->window_reconfigure(w);
+ if (window_is_mapped(w) &&
+ (width != cev->width ||
+ height != cev->height || bwidth != cev->border_width))
+ sc->window_resize(w);
}
above = screen_find_window(sc, cev->above_sibling);
screen_stacking_move_above(sc, w, above);
for (it = list_top(dpy->screens); it; it = it->next) {
d_screen_t *sc = it->data;
+ int id;
screen_setup_default_functions(sc);
/* these can be plugins.. */
- render_init(sc);
+ id = 1;
+ render_init(sc, id++);
}
}