about summary refs log tree commit diff
diff options
context:
space:
mode:
authorop <op>2023-03-22 08:27:36 +0000
committerop <op>2023-03-22 08:27:36 +0000
commit73cef0ffb0260897111f27ce30b28f47f89989ba (patch)
tree5bae1a53e6bbfa52b18acf827c9e14cea6aa7cae
parent481894147ae1ed9f3d8b7b3e6a22d6eb4e742af7 (diff)
parent9eb763ab8781610b67df44b9914a018d32dfe1fe (diff)
downloadcwm-73cef0ffb0260897111f27ce30b28f47f89989ba.tar.gz
cwm-73cef0ffb0260897111f27ce30b28f47f89989ba.tar.xz
cwm-73cef0ffb0260897111f27ce30b28f47f89989ba.zip
cvsimport
* refs/heads/master:
  cwm: fix a semi-transparency border issue with some applications
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 59bc7b0..afbf874 100644
--- a/client.c
+++ b/client.c
@@ -596,7 +596,7 @@ client_draw_border(struct client_ctx *cc)
 		pixel = sc->xftcolor[CWM_COLOR_BORDER_URGENCY].pixel;
 
 	XSetWindowBorderWidth(X_Dpy, cc->win, (unsigned int)cc->bwidth);
-	XSetWindowBorder(X_Dpy, cc->win, pixel);
+	XSetWindowBorder(X_Dpy, cc->win, pixel | (0xffu << 24));
 }
 
 static void