Open GoogleCodeExporter opened 8 years ago
Here's a simple patch which works for unity-2d-panel (from ubuntu)
It's probably not the best way to do it, I'm really new to haskell
diff -rN -u old-XMonadContrib/XMonad/Hooks/ManageDocks.hs
new-XMonadContrib/XMonad/Hooks/ManageDocks.hs
--- old-XMonadContrib/XMonad/Hooks/ManageDocks.hs 2012-02-07 11:58:41.000000000
+0100
+++ new-XMonadContrib/XMonad/Hooks/ManageDocks.hs 2012-02-07 11:58:41.000000000
+0100
@@ -111,7 +111,7 @@
desk <- getAtom "_NET_WM_WINDOW_TYPE_DESKTOP"
mbr <- getProp32s "_NET_WM_WINDOW_TYPE" w
case mbr of
- Just [r] -> return $ elem (fromIntegral r) [dock, desk]
+ Just l -> return $ any (\x -> elem (fromIntegral x) [dock, desk]) l
_ -> return False
-- | Whenever a new dock appears, refresh the layout immediately to avoid the
Original comment by max.thou...@gmail.com
on 7 Feb 2012 at 11:02
Original issue reported on code.google.com by
icarnales
on 7 May 2011 at 4:14