[Xmonad] darcs patch: Added LayoutMessages

Andrea Rossato mailing_list at istitutocolli.org
Mon Sep 24 10:20:32 EDT 2007


as we said yestarday this is my proposal for a more sophisticated
layour message system.

Basically: UnDoLayouts is used for refreshes, LayoutSwitch wfor
notifying a layout change, and NonVisible when a layout is a workspace
not visible anymore.

This way we can have a non flickering tabbed, with proper handling of
fontStruct and windows, but without having to recreate/destroy these
resources at every refresh.

There is a new function sendMessage', for sending messages to a list
of layouts.

This is just a proposal. If you don't like the code style please let
me know (better if with directions): I'm always happy to improve!

The accompanying Tabbed code is finished: I just need to clean it up a


Mon Sep 24 16:09:06 CEST 2007  Andrea Rossato <andrea.rossato at unibz.it>
  * Added LayoutMessages
  This patch adds some more messages to manage layout: LayoutSwitch and
  NonVisible. UnDoLayout is keep for Stack updates. NonVisible is sent
  to layouts in workspaces that are not visible anymore after a refresh.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 6609 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20070924/86058b4a/attachment.bin

More information about the Xmonad mailing list