Closed jakkkko closed 3 years ago
Right now I'm just doing
diff --git a/wm.c b/wm.c
index d394bb9..1c4fa1b 100644
--- a/wm.c
+++ b/wm.c
@@ -1709,8 +1709,8 @@ set_borders(struct client *client, uint32_t color, uint32_t internal_color)
return;
uint32_t values[1];
- color = get_color_pixel(color);
- internal_color = get_color_pixel(color);
+ /* color = get_color_pixel(color);
+ internal_color = get_color_pixel(color); */
values[0] = conf.border_width;
xcb_configure_window(conn, client->window,
and it works.
I think this way is better because it keeps the calls to get_pixel_color:
@@ -1710,7 +1710,7 @@ set_borders(struct client *client, uint32_t color, uint32_t internal_color)
uint32_t values[1];
color = get_color_pixel(color);
- internal_color = get_color_pixel(color);
+ internal_color = get_color_pixel(internal_color);
values[0] = conf.border_width;
xcb_configure_window(conn, client->window,
If those calls were removed it would undo some of the changes in d7d7a97. I created a pull request (#72) because I tested it and this did fix the internal border.
Oops, I think this was an error caused by mindless copying and pasting. Thank you for reporting and fixing the issue!
It looks like after commit d7d7a97766e939f5ba5bbfec6f7c5a4c30031e0a the internal border is not working anymore. On the commit before that one it works. My border config:
I also tried with the config in
examples/
but that didn't work either.