aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-01XMonad.Layout.ScratchWorkspace: avoid warnings, make tests compile againLukas Mai1-9/+10
darcs-hash:20080301061625-462cf-1074e16910784ae464922a611c979ddd355e3e4e.gz
2008-02-29implement ScratchWorkspace.David Roundy1-0/+77
darcs-hash:20080229224316-72aca-9bd38478665ad2effabef8966cc6010fc0fcfe0a.gz
2008-02-29simplify Simplest--allow it to apply to non-Windows.David Roundy1-1/+1
darcs-hash:20080229221326-72aca-d896abb0f51aa2778a6411ef887d2d03bbb43d08.gz
2008-02-29Add bottom-tabbed layout.Roman Cheplyaka1-5/+29
darcs-hash:20080229155120-3ebed-40c00f07292afbad1f0c7ead178e30797fefdf9e.gz
2008-02-25Fix usage doc.Roman Cheplyaka1-1/+5
darcs-hash:20080225062330-3ebed-1fe5bc4fac5b597a87b0c8302ddee3379615fca1.gz
2008-02-24Fix haddock hyperlink.Roman Cheplyaka1-1/+1
darcs-hash:20080224205416-3ebed-45026892c714db76422b2d83b2963651e3f205ba.gz
2008-02-21Add XMonad.Layout.IMRoman Cheplyaka1-0/+107
darcs-hash:20080221085752-3ebed-afacdaba6147abfc4fd3a2435c064e1d76e65ef6.gz
2008-02-21Export XMonad.Layout.Grid.arrange (for use in XMonad.Layout.IM)Roman Cheplyaka1-1/+1
darcs-hash:20080221062204-3ebed-58d97720acb908b2185372f434921a95389e5e08.gz
2008-02-20Decoration: some haddock updatesAndrea Rossato1-5/+2
darcs-hash:20080220214934-32816-92ef34d4eddb3769bcd71eede75aa77936771642.gz
2008-02-20Decoration: fix an issue with decoration window creation and moreAndrea Rossato1-24/+16
- fix a bug reported by Roman Cheplyaka: when decorate returned Nothing the window was never going to be created, even if decorate was reporting a Just Rectangle in the next run. Quite a deep issue, still visible only with TabbedDecoration at the present time. - remove decorateFirst (decorate has enough information to decide whether a window is the first one or not, am I right, David?) - some point free. darcs-hash:20080220204355-32816-cd94ee4ca68145f3c9a594f3fc4ed3a5d4eece5e.gz
2008-02-19LayoutHints: fix a wrong fixAndrea Rossato1-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
2008-02-19Decoration: comment onlyAndrea Rossato1-22/+123
This is a detailed commentary of all the code. darcs-hash:20080219161339-32816-ade08d0a4a9f956aaa0d2ff03ed51c2fd533c1d2.gz
2008-02-19Decoratione: generate rectangles first, and create windows accordinglyAndrea Rossato1-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
2008-02-19Fix doc for TabbedRoman Cheplyaka1-1/+1
darcs-hash:20080219055650-3ebed-f291d5c9d6d0bc5f033d562d412f1f1da82cfde4.gz
2008-02-18Tabbed and TabBarDecoration: no need to implement decorateFirst (the default ↵Andrea Rossato2-2/+0
is used) darcs-hash:20080218184950-32816-890c8dacefeb117b22f9379f66d468fb8023046e.gz
2008-02-18TabBarDecoration: simpleTabBar automatically applies resizeVerticalAndrea Rossato2-10/+20
Added some comments too. darcs-hash:20080218180922-32816-48097596437bbc30cd3414a7555fa5cf55ecec75.gz
2008-02-18DwmStyle: comment fix onlyAndrea Rossato1-1/+1
darcs-hash:20080218180727-32816-12dafebdd563467b3af77f1c55178cb802680f09.gz
2008-02-18ResizeScreen: add resizeHorizontalRight and resizeVerticalBottomAndrea Rossato1-9/+18
darcs-hash:20080218180504-32816-dc75b3ec16dce681aefe717b3c16e8cc200ccbb8.gz
2008-02-18Add TabBarDecoration, a layout modifier to add a bar of tabs to any layoutAndrea Rossato2-53/+100
... and port DecorationMadness to the new system. darcs-hash:20080218161121-32816-5c834c6f6c2c8b156a20f140ee15049c87f623b8.gz
2008-02-18add Eq superclass to DecorationStyle and change styles in order not to ↵Andrea Rossato5-16/+25
decorate non managed windows darcs-hash:20080218131320-32816-44ecfbd0dca9eb353a569898deefebef9f7088ed.gz
2008-02-18Refactor MouseResize, remove isDecoration and introduce isInStack, ↵Andrea Rossato2-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
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