From 7f284ba15afb80c9fd55b4d227c76adee13314dd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 3 May 2008 15:11:02 +0200 Subject: [PATCH] [client] Remove erronous call to xcb_change_window_attributes() for borders Signed-off-by: Julien Danjou --- client.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/client.c b/client.c index 3d82f435..0eb8af68 100644 --- a/client.c +++ b/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);