[client] Remove erronous call to xcb_change_window_attributes() for borders

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-03 15:11:02 +02:00
parent 39a070a5ae
commit 7f284ba15a
1 changed files with 0 additions and 2 deletions

View File

@ -380,8 +380,6 @@ client_manage(xcb_window_t w, xcb_get_geometry_reply_t *wgeom, int screen)
config_win_val = c->border = globalconf.screens[screen].borderpx;
xcb_configure_window(globalconf.connection, w, XCB_CONFIG_WINDOW_BORDER_WIDTH,
&config_win_val);
xcb_change_window_attributes(globalconf.connection, w, XCB_CW_BORDER_PIXEL,
&config_win_val);
/* propagates border_width, if size doesn't change */
window_configure(c->win, c->geometry, c->border);