darcs patch: Added LayoutMessages (and 1 more)

Hi,
this is a follow up of the previous discussion with David: a
Hide/ReleaseResources message system.
Tomorrow I'll try to take care of the LayoutSelection instance,
otherwise I'll drop David a line...;-)
The new tabbed follows.
Andrea
Mon Sep 24 21:35:13 CEST 2007 Andrea Rossato

On Sep 24, 2007, at 15:42 , Andrea Rossato wrote:
this is a follow up of the previous discussion with David: a Hide/ReleaseResources message system.
Tomorrow I'll try to take care of the LayoutSelection instance, otherwise I'll drop David a line...;-)
Actually, can I suggest either another message or another method addition? People keep hacking Main.hs to trigger activity on various X events; perhaps we should formalize a way to allow Layouts to track such messages now, while we're still thinking this stuff through. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

On Mon, Sep 24, 2007 at 04:32:21PM -0400, Brandon S. Allbery KF8NH wrote:
Actually, can I suggest either another message or another method addition? People keep hacking Main.hs to trigger activity on various X events; perhaps we should formalize a way to allow Layouts to track such messages now, while we're still thinking this stuff through.
if I understand correctly people are adding some hook like userHook :: Event -> X () similar to the logHook, to be run outside layouts. Because layouts are able to react to users specified (or X) events/messages via the layoutModify method. If I understand correctly what you mean...;) Andrea
participants (2)
-
Andrea Rossato
-
Brandon S. Allbery KF8NH