aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-02-12DecorationMadness: resizable layouts now use MouseResize tooAndrea Rossato1-46/+63
darcs-hash:20080212173645-32816-7febc46c59d76c483d083c870227025aa86a7d34.gz
2008-02-12SimpleFloat now uses MouseResizeAndrea Rossato1-4/+5
darcs-hash:20080212173615-32816-4819108b6ea9331f60e04a7262f1fbe86f4dbcd4.gz
2008-02-12Decoration: remove mouse resize and moreAndrea Rossato1-17/+15
- since mouse resize is not related to decoration, I removed the code from here. Mouse resize will be handled by a separated layout modifier (in a separated module) - now also stacked decoration will be removed (I separated insert_dwr from remove_stacked) darcs-hash:20080212165306-32816-1272c6e2d3aaaecb389a6e655f22d35c21a40168.gz
2008-02-11Decoration.hs: variable names consistency onlyAndrea Rossato1-6/+6
darcs-hash:20080211123056-32816-c5f74aca2d52d7ed30ed9bebaacda2d30b3244c1.gz
2008-02-11Tabbed and SimpleTabbed (in DecorationMadness) define their own ↵Andrea Rossato2-0/+2
decorationMouseDragHook method ... to disable mouse drag in tabbed layouts darcs-hash:20080211114043-32816-5d2387c5ecc443956694e1b6f572e7741b6e96bd.gz
2008-02-11Decoration: DecorationStyle class cleanup and focus/drag unificationAndrea Rossato1-16/+34
- moved decoEventHook to decorationEventHook - added decorationMouseFocusHook, decorationMouseDragHook, decorationMouseResizeHook methods - added a handleMouseFocusDrag to focus and drag a window (which makes it possible to focus *and* drag unfocused windows too darcs-hash:20080211113650-32816-ac63185747020d74f295ff70bd179d5750bbe4de.gz
2008-02-10DecorationMadness: comment onlyAndrea Rossato1-4/+3
darcs-hash:20080210131427-32816-65c7d85cb78ddbcfa5f4f89cb944288afcc6fa9d.gz
2008-02-10DecorationMadness: added a few floating layoutsAndrea Rossato1-0/+81
darcs-hash:20080210122523-32816-e38b64a7e17f2fd0de4b08c95ddea6fbc0107089.gz
2008-02-10SimpleFloat: export SimpleFloat and add documentationAndrea Rossato1-3/+8
darcs-hash:20080210113159-32816-4821b7c8d4d18ec8c5d47c7b1620f280f2c9625c.gz
2008-02-10Move DefaultDecoration from DecorationMadness to DecorationAndrea Rossato2-4/+4
darcs-hash:20080210104304-32816-9d239fd9c63a1c7d295ad376cefc2d7259446ce8.gz
2008-02-10DecorationMadness: make tunable tabbed layouts respect the Theme decoHeight ↵Andrea Rossato1-4/+4
field darcs-hash:20080210075322-32816-faf155ed2146d92975e733d91d75968e56750be4.gz
2008-02-10ScreenResize: vertical and horizontal now respond to SetThemeAndrea Rossato1-3/+8
And so they will change the screen dimension accordingly. darcs-hash:20080210074544-32816-8f48df80b768eb518ac07dacb17e25b685097a6e.gz
2008-02-09Add DecorationMadness: a repository of weirdnessesAndrea Rossato1-0/+527
darcs-hash:20080209182515-32816-f9b08279c8ae07297c6dde78f004113d829cdd21.gz
2008-02-09Decoration: change mouseEventHook to decoEventHook and moreAndrea Rossato1-15/+18
Fix also the problem with window's movement when the grabbing starts darcs-hash:20080209165101-32816-9309b3cf4be37f3e33c893e5520780f356f48831.gz
2008-02-09Tabbed: add simpleTabbed and fx documentationAndrea Rossato1-3/+24
simpleTabbed is just a version of tabbed with default theme and default srhinker. darcs-hash:20080209163917-32816-e3591acbdfcb38ed0b7c712392a9808d2b78a373.gz
2008-02-08Decoration: enable mouse dragging of windowsAndrea Rossato1-5/+11
darcs-hash:20080208083602-32816-a0078da982c632ab686ec368b5055dca63ce0180.gz
2008-02-08WindowArranger: add a SetGeometry message - needed to enable mouseDragAndrea Rossato1-1/+5
darcs-hash:20080208083413-32816-fe9fcd4589cbd3c7caaff53cb331a54a077e6f6f.gz
2008-02-08Decoration: add a mouseEventHook methohd and move mouse button event thereAndrea Rossato1-5/+12
darcs-hash:20080208073514-32816-9f8c9812e142c55a37a04ed9919b9eb76f0fedf5.gz
2008-02-07Decoration: consistency of variable namesAndrea Rossato1-30/+30
Since the configuration is now called Theme, the variable 'c' is now a 't' darcs-hash:20080207191442-32816-c7124f2f3c599108f31a03a29591cb600836dcf5.gz
2008-02-07Decoration: add a SetTheme message and releaseResourcesAndrea Rossato1-10/+17
...which should make it harder to forget to release the font structure. darcs-hash:20080207184048-32816-9eb5e6f572ed83affeb1f1c726bc0f59e3d90a91.gz
2008-02-07SimpleFloat: comment onlyAndrea Rossato1-1/+1
darcs-hash:20080207182438-32816-5bb3a3181e970086f675e1fbf0c4c27cd103fde1.gz
2008-02-05make WindowNavigation ignore decorations.David Roundy1-7/+9
darcs-hash:20080205203556-72aca-1340a5e4360366b96fa5509c2233891d5c2022fe.gz
2008-02-05make tabbed work nicely with LayoutCombinators and WindowNavigation.David Roundy1-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
2008-02-05make WindowNavigation work when windows are stacked.David Roundy1-1/+1
darcs-hash:20080205202027-72aca-52df32eeb02ca8abacc78486be8a02e1ea4063b6.gz
2008-02-04enable button click for focus in tabbed.David Roundy1-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
2008-02-04in Decoration, remove windows that are precisely hidden underneath other ↵David Roundy1-3/+8
windows. This is needed for WindowNavigation to work properly with the new Decorations framework. darcs-hash:20080204005413-72aca-7aa06211c7080d3d4f485017183251e3e6f440ab.gz
2008-02-04switch tabbed back to using Simplest (so tabs will be shown).David Roundy1-2/+3
darcs-hash:20080204005350-72aca-c0823e2c4a11d249758bc353d8c6d0865acd12c9.gz
2008-01-31Make LayoutHints a decoration aware layout modifierAndrea Rossato2-5/+9
darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
2008-01-31Remove LayoutCombinator class and revert PerWorkspace to its Maybe Bool stateAndrea Rossato2-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
2008-01-30SimpleDecoration: export defaultThemeAndrea Rossato1-0/+1
darcs-hash:20080130124609-32816-0bc8bfb0a5f8e9f398a102a1a220cf89c4542299.gz
2008-01-30Various decorations related updatesSpencer Janssen5-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
2008-01-26TwoPane: add description stringJoachim Fasting1-0/+1
darcs-hash:20080126141332-928c4-aa1a6cade461202de96c3526855dceb8d7d72ce4.gz
2008-01-29LayoutCombinator class: code clean upAndrea Rossato2-15/+12
- ComboType becomes CombboChooser - removed the stupid doFirst - better comboDescription default implemenation darcs-hash:20080129224952-32816-66fc976c8c1c4ce9faa480fc4876f063f7aebd4b.gz
2008-01-29Add a LayoutCombinator class and a CombinedLayout and port PerWorkspace to ↵Andrea Rossato2-93/+109
the new system darcs-hash:20080129192903-32816-de07daf3f32a823c1f3a0e593ff6229b78ae0494.gz
2008-01-28Named: reimplemented as a LayoutModifier and updated Config.Droundy accordinglyAndrea Rossato1-17/+13
darcs-hash:20080128161343-32816-850ccc526022c8bade35c0cb22581577785fede7.gz
2008-01-28LayoutModifier: add modifyDescription for completely override the modified ↵Andrea Rossato1-3/+5
layout description darcs-hash:20080128160614-32816-0bb2e8e13a656887e5376405f866190874e050ab.gz
2008-01-28Make ToggleLayouts and Named implement emptyLayoutAndrea Rossato2-0/+7
darcs-hash:20080128151535-32816-be0f1a2f500c8c0e91f9243a7b50721d60047487.gz
2008-01-28Decoration: the fontset must be released even when we don't decorate the ↵Andrea Rossato1-1/+3
first window This is quite an old bug! It affected Tabbed since the very beginning..;) darcs-hash:20080128004411-32816-b633765bec3bc29b61a79f1dbc900dec48246368.gz
2008-01-28Decoration: I forgot we need to release the fontset too!Andrea Rossato1-1/+2
darcs-hash:20080127233521-32816-d2aab29623d0d5744ebb71ddd4a8c2f82f64c2cb.gz
2008-01-28Decoration: after deleting the windows we must update the layout modifierAndrea Rossato1-1/+2
Thanks to Feuerbach for reporting this. darcs-hash:20080127231815-32816-e877922bacb5f3bd37a65c248c745151107b485c.gz
2008-01-27Reflect: reimplemented as a layout modifier (which makes it compatible with ↵Andrea Rossato1-15/+11
windowArranger and decoration) darcs-hash:20080127165854-32816-682cd6eac087a6a394389aa3ca7566626c7aaa32.gz
2008-01-27SimpleFLoat: change the description to Float (Simple is the decoration ↵Andrea Rossato1-1/+1
description) darcs-hash:20080127144556-32816-6b41964a7cf5333b069c075ca69eea9b3cf9e57c.gz
2008-01-27ResizeScreen has been rewritten as a layout modifierAndrea Rossato1-35/+17
darcs-hash:20080127140837-32816-174838d39b6808123270d6b6e83853dfb49faf4a.gz
2008-01-27LayoutModifier add a modifyLayoutAndrea Rossato1-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
2008-01-27Make LayoutCombinators deal with emptyLayoutAndrea Rossato1-0/+4
darcs-hash:20080127092415-32816-35b3d878a2c1cb87f5e58711767c4c293d2d544b.gz
2008-01-27Add ResizeScreen, a layout modifier for modifing the screen geometryAndrea Rossato1-0/+81
darcs-hash:20080127010755-32816-5e5262602de3f23f7da24d9d854fb0d6a4c22e8e.gz
2008-01-27WindowArranger can now arrange all windowsAndrea Rossato2-23/+31
This is useful for SimpleFloat, whose state can now persists across layout switches. darcs-hash:20080126233053-32816-32077f5bc265ef80b14137e4abe65a82bf9b7378.gz
2008-01-26Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato2-5/+78
according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
2008-01-26WindoWrranger: export the WindowArranger type (see the upcoming SimpleFloat)Andrea Rossato1-0/+1
darcs-hash:20080126204605-32816-e098b938f9dc5d2d2fa667223b7717c021631d77.gz
2008-01-26ShowWName: show the name of empty layouts tooAndrea Rossato1-3/+8
darcs-hash:20080126190214-32816-3a4f8dadb60f9049888236be1206d3b928bde571.gz