From b11ac2e6dc0821a5b1c6079cf24771fde3aeb4d4 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Mon, 26 Dec 2016 22:22:46 +0800 Subject: Fix a bug with zero floating border width * exwm-manage.el (exwm-manage--manage-window): Avoid setting ColorMap mask when creating an X window if floating border is zero. --- exwm-manage.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exwm-manage.el b/exwm-manage.el index 52c324db3613..aab6199a8894 100644 --- a/exwm-manage.el +++ b/exwm-manage.el @@ -249,7 +249,8 @@ corresponding buffer.") xcb:CW:BorderPixel 0) xcb:CW:OverrideRedirect xcb:CW:EventMask - xcb:CW:Colormap) + (if exwm-floating--border-colormap + xcb:CW:Colormap 0)) :background-pixmap xcb:BackPixmap:ParentRelative :border-pixel exwm-floating--border-pixel :override-redirect 1 -- cgit 1.4.1