I don't know about the border, but I've tried to use copyToAll on ManageHook and
It's not straightforward because copyToAll works on the focused window.
I copied an example from config archive that uses copyWindow instead.

doCopyToAll = ask >>= doF . \w -> (\ws -> foldr($) ws (map (copyWindow w) myWorkspaces))

Just use in manageHook like doFloat, etc..
Regards,
Henrique G. Abreu

On Tue, Sep 22, 2009 at 05:26, Magicloud Magiclouds <magicloud.magiclouds@gmail.com> wrote:
Hi,
 I use this code to deal with my clock window.
manageHook_ :: ManageHook
manageHook_ = composeAll [ className =? "Clock" --> (do
                                                    w <- ask
                                                    liftX $ toggleBorder w
                                                    doCenterFloat) ]
 Well, it does not work as expected. The window still has a border
(which is very slight, like using an alpha channel or what), and could
receive focus. Was the code wrong?

 Also, how to put copyToAll to this code?

 Thanks.
--
竹密岂妨流水过
山高哪阻野云飞
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad