[Xmonad] darcs patch: make LayoutHints work with new modifyLay... (and 2 more)

David Roundy droundy at darcs.net
Sun Jun 10 11:48:38 EDT 2007

Hi all,

Here are the patches introducing two new contrib modules: Decoration and

Tabbed is a simple tabbed layout.  It views one window at a time, and has
tabs that you can click on to get to other windows.  The tabs aren't
visible unless there's more than one window in the workspace.  Currently
the tabs are a hideous color, and are completely unlabelled.  But still, in
my opinion it's often a slight improvement over full-screen mode.  You have
almost the same viewable space, but you also have the benefit of a visual
reminder of how many windows are open.  You also have O(1) access to
windows, if you can remember where their tabs are (vs. the O(N) access that
is all you get with the full layout.

Decoration is almost self-explanatory.  It exports one function, which
creates a new "decoration" window and associates with it a response to
mouse clicks and redraw requests.  Except that the redraw stuff (expose
events) isn't working yet.  Decoration keeps track of when to destroy the
window, so layouts can just fire and forget.  It's a little hokily
implemented, but seems to work fine.


Sun Jun 10 07:57:40 PDT 2007  David Roundy <droundy at darcs.net>
  * make LayoutHints work with new modifyLayout (in X).

Sun Jun 10 08:39:26 PDT 2007  David Roundy <droundy at darcs.net>
  * add sketch of tabbed layout.

Sun Jun 10 08:39:39 PDT 2007  David Roundy <droundy at darcs.net>
  * add Decoration module to be used to easily define decorations.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 12859 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070610/535bcbfe/attachment.bin

More information about the Xmonad mailing list