[xmonad] darcs patch: Prevent windows from being decorated tha...
(and 4 more)
Jan Vornberger
jan.vornberger at informatik.uni-oldenburg.de
Sat Nov 28 20:12:34 EST 2009
Hi!
Alright, I finally managed to break down the big blob that used to be
Bluetile's decoration code into a number of modules. I'll start with
this patch bundle, which lays the groundwork for the actual decoration.
It mostly extends the decoration code at various places with additional
hooks that my other code - to be submitted later - then uses.
Current usage of decoration should be unaffected and work as before -
maybe a little bit better even. ;-)
Sat Jun 27 11:43:16 CEST 2009 Jan Vornberger <jan.vornberger at informatik.uni-oldenburg.de>
* Prevent windows from being decorated that are too small to contain decoration.
-> this one fixes a small bug
Sat Oct 24 22:45:13 CEST 2009 Jan Vornberger <jan.vornberger at informatik.uni-oldenburg.de>
* Added the alignment option 'AlignRightOffset'
Sat Oct 24 22:51:11 CEST 2009 Jan Vornberger <jan.vornberger at informatik.uni-oldenburg.de>
* Extended paintAndWrite to allow for multiple strings to be written into the rectangle
Sat Oct 24 23:39:28 CEST 2009 Jan Vornberger <jan.vornberger at informatik.uni-oldenburg.de>
* Extended decoration theme to contain extra static text that always appears in the title bar
-> these three allow to add extra text into the decoration. I use that
to write "(M)" at the left side and "_ [] X" at the right side. The
default however is to not add any extra text, so this should not
affect existing decoration.
Sun Nov 29 00:43:10 CET 2009 Jan Vornberger <jan.vornberger at informatik.uni-oldenburg.de>
* Extended decoration module with more hooks and consolidated some existing ones
-> As mentioned above this adds even more hooks. Worth mentioning here
is, that I combined 'decorationMouseFocusHook' and
'decorationMouseDragHook' into just 'decorationEventHook'. Both of
them got called exactly in the same cases anyway (even so the names
suggest otherwise), so having them both just resulted in duplicated
code and in some cases I had problems with clicks that weren't
recognized. This version seems cleaner and works better for me.
Regards!
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 107883 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20091128/b5b4d753/attachment-0001.bin
More information about the xmonad
mailing list