[xmonad] darcs patch: Fix issue #111

Andrea Rossato andrea.rossato at unibz.it
Thu Feb 21 05:15:54 EST 2008


Sorry for my previous noise, but I got a bit excited by the fact that
my approach seemed to be working and I recorded and sent just a bit
too quickly.

This is the correct implementation of my idea: a 'sendMessage' for
visible layouts: 'sendMessageToVisible'.

And for the button events we use 'sendMessageToVisibles', which will
call the above functions.

I checked and this actually fixes the problems reported in #111.

Let me know, please.

Cheers,
Andrea

Thu Feb 21 11:08:53 CET 2008  Andrea Rossato <andrea.rossato at unibz.it>
  * Fix issue #111
  The use of broacastMessage for sending button events to visible
  layouts conflicts with the possibility for those layouts of changing
  the windowset. This is possible with sendMessage, if the layout
  modifying the windowset doesn't return a new layout. This is how we
  handle mouse focus changes in decorated layouts.
  
  By generalizing sendMessage, we can use it to broadcast button events
  and let layouts in visible workspaces change the windowset as long as
  they do not update the layout.
  
  This should fix the problems reported in issues #111.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 8678 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080221/954638cf/attachment.bin


More information about the xmonad mailing list