Difference between revisions of "Xmonad/Notable changes since 0.11"

From HaskellWiki
Jump to navigation Jump to search
(note usage of data-default)
(→‎breaking changes: updatePointer translation)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This page is for keeping a record of significant changes in darcs <tt>xmonad</tt> and <tt>xmonad-contrib</tt> since the 0.11 releases (Jan 1, 2013). See <tt>darcs changes</tt> in the source repositories for the patches and more details covering documentation and bug fixes not noted here.
 
This page is for keeping a record of significant changes in darcs <tt>xmonad</tt> and <tt>xmonad-contrib</tt> since the 0.11 releases (Jan 1, 2013). See <tt>darcs changes</tt> in the source repositories for the patches and more details covering documentation and bug fixes not noted here.
  +
  +
xmonad-contrib 0.11.1 was a release to address a build falure with X11-1.6.1. 0.11.2 addresses a security where window titles sent on to XMonad.Hooks.DynamicLog could contain <action="command"></action> tags, which potentially are executed by xmobar or dzen. 0.11.3 addresses a build failure with ghc-7.8.2
   
 
= non-breaking changes =
 
= non-breaking changes =
Line 6: Line 8:
   
 
Use of [http://hackage.haskell.org/package/data-default data-default] allows using def where previously you had to write defaultConfig, defaultXPConfig default...
 
Use of [http://hackage.haskell.org/package/data-default data-default] allows using def where previously you had to write defaultConfig, defaultXPConfig default...
  +
  +
  +
= breaking changes =
  +
== updatePointer ==
  +
XMonad.Actions.UpdatePointer.updatePointer arguments were changed. This allows including aspects of both of the TowardsCentre and Relative methods. To keep the same behavior, replace the entry in the left column with the entry on the right:
  +
  +
{| border=1
  +
! < 0.12 !! >= 0.12
  +
|-
  +
| updatePointer Nearest || updatePointer (0.5, 0.5) (1,1)
  +
|-
  +
| updatePointer (Relative x y) || updatePointer (x,y) (1,1)
  +
|-
  +
| updatePointer (TowardsCentre x y) || updatePointer (0.5,0.5) (x,y)
  +
|-
  +
|}

Revision as of 17:42, 10 May 2014

This page is for keeping a record of significant changes in darcs xmonad and xmonad-contrib since the 0.11 releases (Jan 1, 2013). See darcs changes in the source repositories for the patches and more details covering documentation and bug fixes not noted here.

xmonad-contrib 0.11.1 was a release to address a build falure with X11-1.6.1. 0.11.2 addresses a security where window titles sent on to XMonad.Hooks.DynamicLog could contain <action="command"></action> tags, which potentially are executed by xmobar or dzen. 0.11.3 addresses a build failure with ghc-7.8.2

non-breaking changes

data-default

Use of data-default allows using def where previously you had to write defaultConfig, defaultXPConfig default...


breaking changes

updatePointer

XMonad.Actions.UpdatePointer.updatePointer arguments were changed. This allows including aspects of both of the TowardsCentre and Relative methods. To keep the same behavior, replace the entry in the left column with the entry on the right:

< 0.12 >= 0.12
updatePointer Nearest updatePointer (0.5, 0.5) (1,1)
updatePointer (Relative x y) updatePointer (x,y) (1,1)
updatePointer (TowardsCentre x y) updatePointer (0.5,0.5) (x,y)