aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/Decoration.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #179 by handling events correctlyAndrea Rossato2008-05-011-2/+2
| | | | darcs-hash:20080501062357-32816-96fa4684d1a2aa862ff3ad07490ce45832d61a2f.gz
* Remove redundant type signatureSpencer Janssen2008-04-301-1/+1
| | | | darcs-hash:20080430082447-a5988-a5079e1a77749855628c0e83621c9df3206139f9.gz
* Fix haddock hyperlink.Roman Cheplyaka2008-02-241-1/+1
| | | | darcs-hash:20080224205416-3ebed-45026892c714db76422b2d83b2963651e3f205ba.gz
* Decoration: some haddock updatesAndrea Rossato2008-02-201-5/+2
| | | | darcs-hash:20080220214934-32816-92ef34d4eddb3769bcd71eede75aa77936771642.gz
* Decoration: fix an issue with decoration window creation and moreAndrea Rossato2008-02-201-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
* 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
* add Eq superclass to DecorationStyle and change styles in order not to ↵Andrea Rossato2008-02-181-3/+6
| | | | | | decorate non managed windows darcs-hash:20080218131320-32816-44ecfbd0dca9eb353a569898deefebef9f7088ed.gz
* Refactor MouseResize, remove isDecoration and introduce isInStack, ↵Andrea Rossato2008-02-181-3/+24
| | | | | | | | | | | | | | | | 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
* 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
* 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
* Move DefaultDecoration from DecorationMadness to DecorationAndrea Rossato2008-02-101-0/+4
| | | | darcs-hash:20080210104304-32816-9d239fd9c63a1c7d295ad376cefc2d7259446ce8.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
* Decoration: enable mouse dragging of windowsAndrea Rossato2008-02-081-5/+11
| | | | darcs-hash:20080208083602-32816-a0078da982c632ab686ec368b5055dca63ce0180.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
* 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
* Make LayoutHints a decoration aware layout modifierAndrea Rossato2008-01-311-1/+4
| | | | darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
* Various decorations related updatesSpencer Janssen2008-01-301-60/+53
| | | | | | | | | * remove deprecated TConf stuff * Remove 'style' from DeConf * Change DeConf to Theme * share defaultTheme across all decorations darcs-hash:20080130064624-a5988-98fcf49dde956e318f801e934f2045cf94c951d5.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
* Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato2008-01-261-5/+2
| | | | | | according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
* Decoration: code formatting onlyAndrea Rossato2008-01-261-15/+12
| | | | darcs-hash:20080126101354-32816-58ace2b87a1f52405762930dfea3020ad8bed97f.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