[Xmonad] darcs patch: add decorations infrastructure
Spencer Janssen
sjanssen at cse.unl.edu
Sat Jun 9 18:54:58 EDT 2007
On Sat, 09 Jun 2007 12:27:00 -0700
David Roundy <droundy at darcs.net> wrote:
> Hi all,
>
> Here's some infrastructure to allow layouts to define window
> decorations such as tabs or title bars. I'm mostly sending it in to
> get comments. I soon hope to have a crude tabbed layout using this.
>
> David
>
> Sat Jun 9 12:23:49 PDT 2007 David Roundy <droundy at darcs.net>
> * add decorations infrastructure
>
I think we should leverage the existing layout/message system as much
as possible here. Proposed modifications:
- instance Message XEvent
- dispatch unhandled XEvents to layouts
- add another message type: data ViewMsg = View | Hide -- send this
message to layouts on workspace change
- put modifyLayout in the X monad
This should give us enough flexibility to do decorations inside layouts
without polluting the core with decoration handling.
Cheers,
Spencer Janssen
More information about the Xmonad
mailing list