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.
This commit is contained in:
Chris Feng 2016-12-26 22:22:46 +08:00
parent 197745e6a4
commit b11ac2e6dc

View file

@ -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