[xmonad] Fix invisible borders
Igor Babuschkin
ibabuschkin at gmail.com
Sat Jan 3 23:58:41 UTC 2015
Hi,
I just browsed through the mailing list and noticed that some people
were having problems with borders disappearing when viewing RGBA
windows. This happened to me with Nautilus, Evince, Chrome and others.
I've written a tiny fix for this more than 6 months ago, but never
contributed it. (Didn't manage to install darcs. Just tried again for an
hour and failed again)
Thought I should post this in case someone is still suffering from it.
The patch flips the transparency bits in addition to the color bits specified by the user.
(They are 0x00 otherwise and result in full transparency)
--- XMonad/Main.hsc 2013-01-01 02:31:47.000000000 +0100
+++ ../xmonad-0.11-fixed/XMonad/Main.hsc 2014-06-15 13:25:20.766852974 +0200
@@ -116,8 +116,8 @@
{ display = dpy
, config = xmc
, theRoot = rootw
- , normalBorder = nbc
- , focusedBorder = fbc
+ , normalBorder = nbc + 0xFF000000 -- fix invisible borders
+ , focusedBorder = fbc + 0xFF000000 --
, keyActions = keys xmc xmc
, buttonActions = mouseBindings xmc xmc
, mouseFocused = False
Cheers,
Igor
More information about the xmonad
mailing list