15 Commits

Author SHA1 Message Date
Shachaf Ben-Kiki
55b537f2a2 Fix pragmas in XMonadContrib 2007-10-22 01:17:38 +00:00
David Roundy
73a5299fbe allow layout modifiers to modify a Message in transit.
This is a helpful feature (for, e.g. WindowNavigation) that
allows modifiers (if they so choose... the old API remains
supported) to easily send a single Message to the modified
layout in response to a Message.
2007-10-20 19:15:42 +00:00
David Roundy
fbe5c23729 default to empty description for layout modifiers.
This is because modifierDescription is designed to be human-readable,
and show rarely creates a human-readable description.  And in many (if
not most) cases, an empty description is precisely what we want.
2007-10-18 20:26:04 +00:00
David Roundy
3c372e5f9a beautify description code for empty modifier-description. 2007-10-18 20:24:38 +00:00
Brent Yorgey
7910250fe4 change definition of 'description' function for LayoutModifier so an extra space is not added if the modifier description is empty. 2007-10-18 18:30:54 +00:00
Shachaf Ben-Kiki
73c055bd46 Add LANGUAGE pragams
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE
pragma, so not all of them were added; this patch adds the rest of them, which
is necessary for xmonad to compile in GHC >=6.7.
2007-10-08 02:21:41 +00:00
David Roundy
db1026f6e9 some renaming of classes and data types. 2007-09-29 19:12:38 +00:00
Spencer Janssen
91df16823f Use LANGUAGE pragmas 2007-09-28 17:46:02 +00:00
Spencer Janssen
c1cc5b23e8 LayoutModifier: call unhook after releaseResources 2007-09-28 17:45:10 +00:00
Spencer Janssen
acc70375a7 Make modifier descriptions prettier 2007-09-28 05:32:57 +00:00
Spencer Janssen
1ef72a1bfa LayoutModifier should have descriptions too 2007-09-28 05:31:06 +00:00
David Roundy
23af4f228b modifyLayout -> handleMessage. 2007-09-25 18:29:30 +00:00
David Roundy
3183254033 fix embarrassing bugs in LayoutModifier. 2007-09-24 19:57:26 +00:00
Andrea Rossato
ac82b7ec35 LayoutModifier updated to use LayoutMessages 2007-09-24 19:33:45 +00:00
David Roundy
220cea642d rename LayoutHelpers to LayoutModifier. 2007-09-23 21:59:56 +00:00