[xmonad] darcs patch: Add windowRemover for make tabbed return just the focu...

Andrea Rossato mailing_list at istitutocolli.org
Fri Feb 1 06:02:04 EST 2008


Hi,

this is a follow up of the discussion with Spencer about tabbed.

This patch implements WindowRemover. If placed over tabbed it should
be removing unfocused windows, without touching the windows
decoration.

WARNING: while this patch passes all tests both with ghc-6.6.1 and
ghc-6.8.2, when I build this test file:
import XMonad
import XMonad.Config.Arossato
main = xmonad =<< arossatoConfig

ghc-6.6.1 fails with this linker error:
[12:00:33][wolf at laptop:~/.xmonad]$ ghc --make xmonad.hs
Linking xmonad ...
/usr/local/lib/xmonad-contrib-0.6/ghc-6.6.1/libHSxmonad-contrib-0.6.a(Combo.o): In function `s1e0s_info':
ghc3557_0.hc:(.text+0x3ada): undefined reference to `xmonadzmcontribzm0zi6_XMonadziLayoutziWindowNavigation_zdf3_info'
/usr/local/lib/xmonad-contrib-0.6/ghc-6.6.1/libHSxmonad-contrib-0.6.a(Combo.o):(.rodata+0xa8): undefined reference to `xmonadzmcontribzm0zi6_XMonadziLayoutziWindowNavigation_zdf3_closure'
collect2: ld returned 1 exit status

The same code compiles, and works perfectly (unless bugs introduced by
its author, me) on ghc-6.8.2.

This is why I'd like someone to test it (I'll include it also in the
bug tracker).

Cheers,
Andrea

Fri Feb  1 11:55:05 CET 2008  Andrea Rossato <andrea.rossato at unibz.it>
  * Add windowRemover for make tabbed return just the focused window
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 23697 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080201/8692984d/attachment-0001.bin


More information about the xmonad mailing list