[xmonad] darcs patch: ManageHelpers, reduce duplicated code in predicates

Ismael Carnales icarnales at gmail.com
Tue Feb 3 21:26:41 EST 2009

This patch adds a helper function isInProperty to reduce the
duplicated code in isFullscreen and isDialog of ManageHelpers.

Next step: making ManageDocks use this function or similar to avoid
more duplication.

Next next step: pushing this helpers (or in another way) into core, I
think that providing a common way of doing certain things helps
avoiding code duplication in Contrib.


P.S: (this is my first code patch, so be gentle :) )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ManageHelpersIsInProperty.dpatch
Type: application/octet-stream
Size: 22903 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/xmonad/attachments/20090204/9d08ff9f/ManageHelpersIsInProperty-0001.obj

More information about the xmonad mailing list