Implement configuration setting to change the default border of windows

This commit is contained in:
Michael Stapelberg
2009-11-08 12:43:01 +01:00
parent 876417f49d
commit 64c99cb235
6 changed files with 41 additions and 6 deletions

@ -183,6 +183,9 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
new->floating_rect.width = width;
new->floating_rect.height = height;
if (config.default_border != NULL)
client_init_border(conn, new, config.default_border[1]);
mask = 0;
/* Dont generate events for our new window, it should *not* be managed */