about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--exwm-manage.el3
1 files changed, 2 insertions, 1 deletions
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