[client] Remove erronous call to xcb_change_window_attributes() for borders
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
39a070a5ae
commit
7f284ba15a
2
client.c
2
client.c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue