Cosmetic changes

This commit is contained in:
Julien Danjou 2008-03-14 18:31:58 +01:00
parent bb453bd444
commit 3aa550ef6b
1 changed files with 2 additions and 5 deletions

View File

@ -337,13 +337,10 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
c->oldborder = wa->border_width;
c->newcomer = True;
c->border = globalconf.screens[screen].borderpx;
/* Set windows borders */
wc.border_width = c->border;
wc.border_width = c->border = globalconf.screens[screen].borderpx;
XConfigureWindow(globalconf.display, w, CWBorderWidth, &wc);
XSetWindowBorder(globalconf.display, w,
globalconf.screens[screen].styles.normal.border.pixel);
XSetWindowBorder(globalconf.display, w, c->border);
/* propagates border_width, if size doesn't change */
window_configure(c->win, c->geometry, c->border);