Xmonad/Notable changes since 0.9

From HaskellWiki
< Xmonad
Revision as of 00:53, 8 December 2009 by Avo (talk | contribs) (note that A.OnScreen has backwards-incompatible changes)

Jump to: navigation, 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.

-- 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.

X.A.OnScreen changes

The type of onScreen has been changed, but the more user-friendly functions remain unchanged.