aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Decoration: add a SetTheme message and releaseResourcesAndrea Rossato2008-02-071-10/+17
| | | | | | ...which should make it harder to forget to release the font structure. darcs-hash:20080207184048-32816-9eb5e6f572ed83affeb1f1c726bc0f59e3d90a91.gz
* SimpleFloat: comment onlyAndrea Rossato2008-02-071-1/+1
| | | | darcs-hash:20080207182438-32816-5bb3a3181e970086f675e1fbf0c4c27cd103fde1.gz
* make WindowNavigation ignore decorations.David Roundy2008-02-051-7/+9
| | | | darcs-hash:20080205203556-72aca-1340a5e4360366b96fa5509c2233891d5c2022fe.gz
* make tabbed work nicely with LayoutCombinators and WindowNavigation.David Roundy2008-02-051-5/+13
| | | | | | | | The problem is that WindowNavigation assumes all windows are navigable, and it was getting confused by decorations. With a bit of work, we can decorate windows *after* combining layouts just fine. darcs-hash:20080205202343-72aca-38ec52df06997059edaac4085a6f1d86d5a756ae.gz
* make WindowNavigation work when windows are stacked.David Roundy2008-02-051-1/+1
| | | | darcs-hash:20080205202027-72aca-52df32eeb02ca8abacc78486be8a02e1ea4063b6.gz
* enable button click for focus in tabbed.David Roundy2008-02-041-0/+8
| | | | | | | | | | | | Note that this patch doesn't work with Thu Dec 27 03:03:56 EST 2007 Spencer Janssen <sjanssen@cse.unl.edu> * Broadcast button events to all layouts, fix for issue #111 but this isn't a regression, since button events have never worked with tabbed and this change. darcs-hash:20080204010536-72aca-3e6f9c697f8e6e26931850d84b56b3f5de917f55.gz
* in Decoration, remove windows that are precisely hidden underneath other ↵David Roundy2008-02-041-3/+8
| | | | | | | | | windows. This is needed for WindowNavigation to work properly with the new Decorations framework. darcs-hash:20080204005413-72aca-7aa06211c7080d3d4f485017183251e3e6f440ab.gz
* switch tabbed back to using Simplest (so tabs will be shown).David Roundy2008-02-041-2/+3
| | | | darcs-hash:20080204005350-72aca-c0823e2c4a11d249758bc353d8c6d0865acd12c9.gz
* Make LayoutHints a decoration aware layout modifierAndrea Rossato2008-01-312-5/+9
| | | | darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
* Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato2008-01-312-79/+65
| | | | | | | | | | | | | | | | | | | | As I said in order to have a CombinedLayout type instace of LayoutClass and a class for easily writing pure and impure combinators to be feeded to the CombinedLayout together with the layouts to be conbined, there's seems to be the need to change the type of the LayoutClass.description method from l a -> String to l a -> X String. Without that "ugly" change - loosing the purity of the description (please note the *every* methods of that class unless description operates in the X monad) - I'm plainly unable to write something really useful and maintainable. If someone can point me in the right direction I would really really appreciate. Since, in the meantime, PerWorkspace, which has its users, is broken and I broke it, I'm reverting it to it supposedly more beautiful PerWorkspac [WorkspaceId] (Maybe Bool) (l1 a) (l2 a) type. darcs-hash:20080131063929-32816-8e37919b38c70675a90e492f0c29674061ba3968.gz
* SimpleDecoration: export defaultThemeAndrea Rossato2008-01-301-0/+1
| | | | darcs-hash:20080130124609-32816-0bc8bfb0a5f8e9f398a102a1a220cf89c4542299.gz
* Various decorations related updatesSpencer Janssen2008-01-305-161/+80
| | | | | | | | | * remove deprecated TConf stuff * Remove 'style' from DeConf * Change DeConf to Theme * share defaultTheme across all decorations darcs-hash:20080130064624-a5988-98fcf49dde956e318f801e934f2045cf94c951d5.gz
* TwoPane: add description stringJoachim Fasting2008-01-261-0/+1
| | | | darcs-hash:20080126141332-928c4-aa1a6cade461202de96c3526855dceb8d7d72ce4.gz
* LayoutCombinator class: code clean upAndrea Rossato2008-01-292-15/+12
| | | | | | | | - ComboType becomes CombboChooser - removed the stupid doFirst - better comboDescription default implemenation darcs-hash:20080129224952-32816-66fc976c8c1c4ce9faa480fc4876f063f7aebd4b.gz
* Add a LayoutCombinator class and a CombinedLayout and port PerWorkspace to ↵Andrea Rossato2008-01-292-93/+109
| | | | | | the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
* Named: reimplemented as a LayoutModifier and updated Config.Droundy accordinglyAndrea Rossato2008-01-281-17/+13
| | | | darcs-hash:20080128161343-32816-850ccc526022c8bade35c0cb22581577785fede7.gz
* LayoutModifier: add modifyDescription for completely override the modified ↵Andrea Rossato2008-01-281-3/+5
| | | | | | layout description darcs-hash:20080128160614-32816-0bb2e8e13a656887e5376405f866190874e050ab.gz
* Make ToggleLayouts and Named implement emptyLayoutAndrea Rossato2008-01-282-0/+7
| | | | darcs-hash:20080128151535-32816-be0f1a2f500c8c0e91f9243a7b50721d60047487.gz
* Decoration: the fontset must be released even when we don't decorate the ↵Andrea Rossato2008-01-281-1/+3
| | | | | | | | first window This is quite an old bug! It affected Tabbed since the very beginning..;) darcs-hash:20080128004411-32816-b633765bec3bc29b61a79f1dbc900dec48246368.gz
* Decoration: I forgot we need to release the fontset too!Andrea Rossato2008-01-281-1/+2
| | | | darcs-hash:20080127233521-32816-d2aab29623d0d5744ebb71ddd4a8c2f82f64c2cb.gz
* Decoration: after deleting the windows we must update the layout modifierAndrea Rossato2008-01-281-1/+2
| | | | | | Thanks to Feuerbach for reporting this. darcs-hash:20080127231815-32816-e877922bacb5f3bd37a65c248c745151107b485c.gz
* Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato2008-01-271-15/+11
| | | | | | windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
* SimpleFLoat: change the description to Float (Simple is the decoration ↵Andrea Rossato2008-01-271-1/+1
| | | | | | description) darcs-hash:20080127144556-32816-6b41964a7cf5333b069c075ca69eea9b3cf9e57c.gz
* ResizeScreen has been rewritten as a layout modifierAndrea Rossato2008-01-271-35/+17
| | | | darcs-hash:20080127140837-32816-174838d39b6808123270d6b6e83853dfb49faf4a.gz
* LayoutModifier add a modifyLayoutAndrea Rossato2008-01-271-1/+4
| | | | | | | | | | | | Many layouts are written as layout modifiers because they need to change the stack of the rectangle before executing doLayout. This is a major source of bugs. all layout modifiers should be using the LayoutModifier class. This method (modifyLayout) can be used to manipulate the rectangle and the stack before running doLayout by the layout modifier. darcs-hash:20080127140219-32816-bc3dbfc0be08587b94acead49f384e72c89e2df0.gz
* Make LayoutCombinators deal with emptyLayoutAndrea Rossato2008-01-271-0/+4
| | | | darcs-hash:20080127092415-32816-35b3d878a2c1cb87f5e58711767c4c293d2d544b.gz
* Add ResizeScreen, a layout modifier for modifing the screen geometryAndrea Rossato2008-01-271-0/+81
| | | | darcs-hash:20080127010755-32816-5e5262602de3f23f7da24d9d854fb0d6a4c22e8e.gz
* WindowArranger can now arrange all windowsAndrea Rossato2008-01-272-23/+31
| | | | | | | This is useful for SimpleFloat, whose state can now persists across layout switches. darcs-hash:20080126233053-32816-32077f5bc265ef80b14137e4abe65a82bf9b7378.gz
* Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato2008-01-262-5/+78
| | | | | | according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
* WindoWrranger: export the WindowArranger type (see the upcoming SimpleFloat)Andrea Rossato2008-01-261-0/+1
| | | | darcs-hash:20080126204605-32816-e098b938f9dc5d2d2fa667223b7717c021631d77.gz
* ShowWName: show the name of empty layouts tooAndrea Rossato2008-01-261-3/+8
| | | | darcs-hash:20080126190214-32816-3a4f8dadb60f9049888236be1206d3b928bde571.gz
* Decoration: code formatting onlyAndrea Rossato2008-01-261-15/+12
| | | | darcs-hash:20080126101354-32816-58ace2b87a1f52405762930dfea3020ad8bed97f.gz
* export DeConfig to avoid importing DecorationAndrea Rossato2008-01-262-0/+2
| | | | darcs-hash:20080126101049-32816-21a71ad8a3264a955e16906062e6b821ecccf405.gz
* Don't export TConf anymore and export DeConfig insteadAndrea Rossato2008-01-261-1/+2
| | | | | | | | | | | | | | | | | | WARNING: this patch may be breaking your configuration. While it is still possible to use: tabbed shrinkText defaultTConf updating the fields of the defaultTConf record is not possible anymore, since the type TConf is now hidden. WARNING: "tabSize" has been substituted by "decoHeight" You can change your configuration this way: myTConf :: TConf myTConf darcs-hash:20080126092141-32816-e85f5278e303d811f487460f68f0a15082476d2d.gz
* Tabbed now uses DecorationAndrea Rossato2008-01-251-183/+80
| | | | darcs-hash:20080125152311-32816-a9956f4fe81156bb37370082fd18c04e47496844.gz
* Add DwmStyle, a layout modifier to add dwm-style decorations to windows in ↵Andrea Rossato2008-01-251-0/+69
| | | | | | any layout darcs-hash:20080125152152-32816-0480e941cb549521e145d7b02c8d44807f928ccb.gz
* Adde SimpleDecoration, a layout modifier to add simple decorations to ↵Andrea Rossato2008-01-251-0/+69
| | | | | | windows in any layout darcs-hash:20080125152106-32816-342b1ed0a63edfc2726db6b887e2a101d8b71f9b.gz
* Add Layout.Simplest, the simplest layoutAndrea Rossato2008-01-251-0/+41
| | | | darcs-hash:20080125152015-32816-678e0595c75eb62e0124152509accefdf782ae5d.gz
* Add Decoration, a layout modifier and a class for easily writing decorated ↵Andrea Rossato2008-01-251-0/+252
| | | | | | layouts darcs-hash:20080125151726-32816-bc0b6fc3e33a601e2973c08efa71da35f7f0f7ef.gz
* Add WindowArranger, a layout modifier to move and resize windows with the ↵Andrea Rossato2008-01-251-0/+189
| | | | | | keyboard darcs-hash:20080125151633-32816-e2dbfdd6bfc1455c21ce2c8dc02a1010233d4b84.gz
* ShowWName: moved fi to XUtilsAndrea Rossato2008-01-241-4/+0
| | | | darcs-hash:20080124134725-32816-305f741221c5602147daed2798a2c0b28fe3a850.gz
* LayoutModifier: add emptyLayoutMod for dealing with empty workspacesAndrea Rossato2008-01-241-0/+10
| | | | darcs-hash:20080124015605-32816-cdcd0b9509d793e85a2a0acd8d61e1ee69455568.gz
* LayoutModifier: add pureMess and pureModifier to the LayoutModifier classAndrea Rossato2008-01-221-2/+7
| | | | darcs-hash:20080122111319-32816-c35527f71b561f828a4c11cf215e5f2b24d2f539.gz
* Layout.ShowWName: generalize the instanceAndrea Rossato2008-01-151-2/+2
| | | | darcs-hash:20080115045139-32816-93d380b259da4298972a60e3039b7af752626a6b.gz
* add emptyLayout to MultiToggleLukas Mai2008-01-281-0/+2
| | | | darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
* add 'single' helper functionLukas Mai2008-01-181-2/+7
| | | | darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
* documentation fixLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
* style assimilationLukas Mai2008-01-181-1/+1
| | | | darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
* Reflect.hs: minor haddock fixBrent Yorgey2008-01-161-1/+1
| | | | darcs-hash:20080116203546-bd4d7-be51c0b0302bee0271a71dd1156ea7a12f318888.gz
* Reflect.hs: use -fglasgow-exts for now instead of LANGUAGE pragmas, for ↵Brent Yorgey2008-01-151-1/+5
| | | | | | compatibility with ghc 6.6 darcs-hash:20080115194811-bd4d7-217e9c6fe19c7faf1f6e4061c9f7b7ee91d81515.gz