Xmonad/Notable changes since 0.9

From HaskellWiki
< Xmonad
Revision as of 23:37, 16 November 2009 by Gwern (talk | contribs) (+cat)
Jump to navigation Jump to search

This page is for keeping a record of significant changes in darcs xmonad and xmonad-contrib since the 0.9 release. See 'darcs changes' for more details about miscellaneous feature enhancements, and documentation and bug fixes not noted here.

The idea is to put here a list of things which a user upgrading from 0.9 to the current darcs version might like to know, so that they are sure to be included in the 1.0 release notes.

Simplified interface for X.A.SpawnOn and X.H.DynamicHooks

Since contrib modules can now store custom state in XState, the additional IORef parameters are no longer required: Users have to remove the first paramter to the respective functions. The functions mkSpawner and initDynamicHooks are also no longer necessary and have been removed.

Example:
-- Old code:

sp <- mkSpawner
..
 [((mod1Mask,xK_k), shellPromptHere sp defaultXPConfig
  ..]

The above has to be changed to:

 -- no mkSpawner line
 ..
 [((mod1Mask,xK_k), shellPromptHere defaultXPConfig)
  ..]

The same applies to XMonad.Hooks.DynamicHooks.