aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* LayoutHints: fix a wrong fixAndrea Rossato2008-02-191-1/+1
| | | | | | | The case analisys of my fix should be the other way around... this is the real fix. darcs-hash:20080219165127-32816-a2c283dcd6160e5a3f776de214c63f8213681220.gz
* Decoration: comment onlyAndrea Rossato2008-02-191-22/+123
| | | | | | This is a detailed commentary of all the code. darcs-hash:20080219161339-32816-ade08d0a4a9f956aaa0d2ff03ed51c2fd533c1d2.gz
* Decoratione: generate rectangles first, and create windows accordinglyAndrea Rossato2008-02-191-57/+71
| | | | | | | | | | With this patch Decoration will first generate a rectangle and only if there is a rectangle available a window will be created. This makes the Decoration state a bit more difficult to process, but should reduce resource consumption. darcs-hash:20080219122115-32816-56ccaf1fed88e2830d6cd76d346eaca119d3143a.gz
* Fix doc for TabbedRoman Cheplyaka2008-02-191-1/+1
| | | | darcs-hash:20080219055650-3ebed-f291d5c9d6d0bc5f033d562d412f1f1da82cfde4.gz
* Tabbed and TabBarDecoration: no need to implement decorateFirst (the default ↵Andrea Rossato2008-02-182-2/+0
| | | | | | is used) darcs-hash:20080218184950-32816-890c8dacefeb117b22f9379f66d468fb8023046e.gz
* TabBarDecoration: simpleTabBar automatically applies resizeVerticalAndrea Rossato2008-02-182-10/+20
| | | | | | Added some comments too. darcs-hash:20080218180922-32816-48097596437bbc30cd3414a7555fa5cf55ecec75.gz
* DwmStyle: comment fix onlyAndrea Rossato2008-02-181-1/+1
| | | | darcs-hash:20080218180727-32816-12dafebdd563467b3af77f1c55178cb802680f09.gz
* ResizeScreen: add resizeHorizontalRight and resizeVerticalBottomAndrea Rossato2008-02-181-9/+18
| | | | darcs-hash:20080218180504-32816-dc75b3ec16dce681aefe717b3c16e8cc200ccbb8.gz
* Add TabBarDecoration, a layout modifier to add a bar of tabs to any layoutAndrea Rossato2008-02-182-53/+100
| | | | | | ... and port DecorationMadness to the new system. darcs-hash:20080218161121-32816-5c834c6f6c2c8b156a20f140ee15049c87f623b8.gz
* add Eq superclass to DecorationStyle and change styles in order not to ↵Andrea Rossato2008-02-185-16/+25
| | | | | | decorate non managed windows darcs-hash:20080218131320-32816-44ecfbd0dca9eb353a569898deefebef9f7088ed.gz
* Refactor MouseResize, remove isDecoration and introduce isInStack, ↵Andrea Rossato2008-02-182-12/+34
| | | | | | | | | | | | | | | | isVisible, isInvisible This patch includes several changes, which are strictly related and cannot be recorded separately: - remove Decoraion.isDecoartion and introduce Decoration.isInStack (with the related change to LayoutHints) - in Decoration introduce useful utilities: isVisible, isInvisible, isWithin and lookFor' - MouseResize: - invisible inputOnly windows will not be created; - fix a bug in the read instance which caused a failure in the state deserialization. darcs-hash:20080218105726-32816-9d42d4fdff75fad3258aec92d059e5155f0e64bc.gz
* DecorationMadness: resizable layouts now use MouseResize tooAndrea Rossato2008-02-121-46/+63
| | | | darcs-hash:20080212173645-32816-7febc46c59d76c483d083c870227025aa86a7d34.gz
* SimpleFloat now uses MouseResizeAndrea Rossato2008-02-121-4/+5
| | | | darcs-hash:20080212173615-32816-4819108b6ea9331f60e04a7262f1fbe86f4dbcd4.gz
* Decoration: remove mouse resize and moreAndrea Rossato2008-02-121-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
* Decoration.hs: variable names consistency onlyAndrea Rossato2008-02-111-6/+6
| | | | darcs-hash:20080211123056-32816-c5f74aca2d52d7ed30ed9bebaacda2d30b3244c1.gz
* Tabbed and SimpleTabbed (in DecorationMadness) define their own ↵Andrea Rossato2008-02-112-0/+2
| | | | | | | | decorationMouseDragHook method ... to disable mouse drag in tabbed layouts darcs-hash:20080211114043-32816-5d2387c5ecc443956694e1b6f572e7741b6e96bd.gz
* Decoration: DecorationStyle class cleanup and focus/drag unificationAndrea Rossato2008-02-111-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
* DecorationMadness: comment onlyAndrea Rossato2008-02-101-4/+3
| | | | darcs-hash:20080210131427-32816-65c7d85cb78ddbcfa5f4f89cb944288afcc6fa9d.gz
* DecorationMadness: added a few floating layoutsAndrea Rossato2008-02-101-0/+81
| | | | darcs-hash:20080210122523-32816-e38b64a7e17f2fd0de4b08c95ddea6fbc0107089.gz
* SimpleFloat: export SimpleFloat and add documentationAndrea Rossato2008-02-101-3/+8
| | | | darcs-hash:20080210113159-32816-4821b7c8d4d18ec8c5d47c7b1620f280f2c9625c.gz
* Move DefaultDecoration from DecorationMadness to DecorationAndrea Rossato2008-02-102-4/+4
| | | | darcs-hash:20080210104304-32816-9d239fd9c63a1c7d295ad376cefc2d7259446ce8.gz
* DecorationMadness: make tunable tabbed layouts respect the Theme decoHeight ↵Andrea Rossato2008-02-101-4/+4
| | | | | | field darcs-hash:20080210075322-32816-faf155ed2146d92975e733d91d75968e56750be4.gz
* ScreenResize: vertical and horizontal now respond to SetThemeAndrea Rossato2008-02-101-3/+8
| | | | | | And so they will change the screen dimension accordingly. darcs-hash:20080210074544-32816-8f48df80b768eb518ac07dacb17e25b685097a6e.gz
* Add DecorationMadness: a repository of weirdnessesAndrea Rossato2008-02-091-0/+527
| | | | darcs-hash:20080209182515-32816-f9b08279c8ae07297c6dde78f004113d829cdd21.gz
* Decoration: change mouseEventHook to decoEventHook and moreAndrea Rossato2008-02-091-15/+18
| | | | | | Fix also the problem with window's movement when the grabbing starts darcs-hash:20080209165101-32816-9309b3cf4be37f3e33c893e5520780f356f48831.gz
* Tabbed: add simpleTabbed and fx documentationAndrea Rossato2008-02-091-3/+24
| | | | | | | simpleTabbed is just a version of tabbed with default theme and default srhinker. darcs-hash:20080209163917-32816-e3591acbdfcb38ed0b7c712392a9808d2b78a373.gz
* Decoration: enable mouse dragging of windowsAndrea Rossato2008-02-081-5/+11
| | | | darcs-hash:20080208083602-32816-a0078da982c632ab686ec368b5055dca63ce0180.gz
* WindowArranger: add a SetGeometry message - needed to enable mouseDragAndrea Rossato2008-02-081-1/+5
| | | | darcs-hash:20080208083413-32816-fe9fcd4589cbd3c7caaff53cb331a54a077e6f6f.gz
* Decoration: add a mouseEventHook methohd and move mouse button event thereAndrea Rossato2008-02-081-5/+12
| | | | darcs-hash:20080208073514-32816-9f8c9812e142c55a37a04ed9919b9eb76f0fedf5.gz
* Decoration: consistency of variable namesAndrea Rossato2008-02-071-30/+30
| | | | | | | Since the configuration is now called Theme, the variable 'c' is now a 't' darcs-hash:20080207191442-32816-c7124f2f3c599108f31a03a29591cb600836dcf5.gz
* 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