| Commit message (Collapse) | Author | Files | Lines |
|
Adds doRectFloat, which floats the new window in the given rectangle; and doCenterFloat, which floats the
new window with its original size, but centered.
darcs-hash:20080225183337-d53a8-e9e6680266618483dec2cd900e9be8219e1e89f7.gz
|
|
darcs-hash:20080128175059-462cf-b2a4cc83feb75af4af9745144846b9515140b042.gz
|
|
The initial patch that extended the EDSL for writing ManageHook rules did not come with a good example on how to use it. This patch ammends that. 'move' is an example of how to write a rule to resolve a Query (Maybe a) into something tangible. 'move'' is an example of how to write a rule isolating window managing code from the rest ofthe mess the EDSL creates.
darcs-hash:20080102074810-cfbce-af71f2a26e887a21a616302407deb42edc31ac6b.gz
|
|
This patch adds a few types of relationships and operators for managing windows with rules. It provides grouping operators so the X action can access the quantifier that was matched or not matched. It provides a formalism for predicates that work in both grouping and non grouping rules. It could do with some classes, so that there are fewer operators that always do the Right Thing (TM), but the Haskell Type system currently has some problems resolving types. Since I don't know enough about these high level things, it would be hard to create a GHC patch just to make it all work.
darcs-hash:20080101174446-cfbce-3367d42b5411b92083a0e95cfc91d2e79770c527.gz
|
|
darcs-hash:20071211183040-462cf-f8e47e21202ddcc60bde210469693fe70d08c337.gz
|