take into account x11 border_width settings (fixes uxterm border issue)

This commit is contained in:
Michael Stapelberg
2010-11-14 23:44:13 +01:00
parent 39b378b0a4
commit 76c07900c2
3 changed files with 9 additions and 0 deletions

View File

@ -185,6 +185,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
nc->window = cwindow;
x_reinit(nc);
nc->border_width = geom->border_width;
char *name;
asprintf(&name, "[i3 con] container around %p", cwindow);
x_set_name(nc, name);