aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Layout/Decoration.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-01-16X.L.Decoration: avoid flicker by not showing decowins without rectanglesTomas Janousek1-1/+1
Ignore-this: 6f38634706c3f35272670b969fc6cc96 These would be hidden by updateDecos immediately after being shown. This caused flicker with simpleTabbed and only one window on a workspace. darcs-hash:20100116112054-c9ff5-f60e6a241273df4bcfa4a12a5ae1740f9555e8cb.gz
2009-11-29Extended decoration module with more hooks and consolidated some existing onesJan Vornberger1-30/+45
Ignore-this: 5a23af3009ecca2feb9a84f8c6f8ac33 darcs-hash:20091128234310-594c5-8b6cd110f95678fd49fa1c20b0d4c69ef0fbeec5.gz
2009-10-24Extended decoration theme to contain extra static text that always appears ↵Jan Vornberger1-1/+5
in the title bar Ignore-this: 95f46d6b9ff716a2d8002a426c1012c8 darcs-hash:20091024213928-594c5-bd98d27b6a6389e04aeef5e1a80d9dbf2a32c46b.gz
2009-10-24Extended paintAndWrite to allow for multiple strings to be written into the ↵Jan Vornberger1-1/+1
rectangle Ignore-this: eb7d32284b7f98145038dcaa14f8075e darcs-hash:20091024205111-594c5-33318832d5ca7d71ece560ea79d45109001eadfb.gz
2009-06-27Prevent windows from being decorated that are too small to contain decoration.Jan Vornberger1-3/+3
Ignore-this: 39b806462bbd424f1206b635e9d506e1 darcs-hash:20090627094316-594c5-c34126e335304e76e57eb0bcacae5e2f7e9b8804.gz
2009-06-26Replace most -fglasgow-exts with specific LANGUAGE pragmasAdam Vogt1-2/+1
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
2009-06-21Provide means to find original window by its decoration.Dmitry Astapov1-0/+4
Ignore-this: fad8cb7fb4c2785b14b97d48f19604cc In order to enable user to write custom `decorationMouseFocusHook' and `decorationMouseDragHook' hooks we need to provide him with means to lookup original window by its decoration. Module Decoration has internal function `lookFor' for exactly the same purpose. I exported it under a slightly different name and without exposing internals of DecorationState. darcs-hash:20090621194652-5701e-3fe157f99b1ea31377b0d77db4fd3a0314b553fd.gz
2008-11-10Exported shrinkWhile from Decoration to use in GridSelectRoman Cheplyaka1-1/+1
darcs-hash:20081110191534-3ebed-aad022b55c2e295f1652358de879a40d9f970ac4.gz
2008-10-05Merge emptyLayoutMod into redoLayoutJoachim Breitner1-6/+6
This removes the emptyLayoutMod method from the LayoutModifier class, and change the Stack parameter to redoLayout to a Maybe Stack one. It also changes all affected code. This should should be a refactoring without any change in program behaviour. darcs-hash:20081005190220-23c07-4701517e3433ecff8c999da75ac582f6f1b65c19.gz
2008-05-01Fix issue #179 by handling events correctlyAndrea Rossato1-2/+2
darcs-hash:20080501062357-32816-96fa4684d1a2aa862ff3ad07490ce45832d61a2f.gz
2008-04-30Remove redundant type signatureSpencer Janssen1-1/+1
darcs-hash:20080430082447-a5988-a5079e1a77749855628c0e83621c9df3206139f9.gz
2008-02-24Fix haddock hyperlink.Roman Cheplyaka1-1/+1
darcs-hash:20080224205416-3ebed-45026892c714db76422b2d83b2963651e3f205ba.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-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-18add Eq superclass to DecorationStyle and change styles in order not to ↵Andrea Rossato1-3/+6
decorate non managed windows darcs-hash:20080218131320-32816-44ecfbd0dca9eb353a569898deefebef9f7088ed.gz
2008-02-18Refactor MouseResize, remove isDecoration and introduce isInStack, ↵Andrea Rossato1-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
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-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-10Move DefaultDecoration from DecorationMadness to DecorationAndrea Rossato1-0/+4
darcs-hash:20080210104304-32816-9d239fd9c63a1c7d295ad376cefc2d7259446ce8.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-08Decoration: enable mouse dragging of windowsAndrea Rossato1-5/+11
darcs-hash:20080208083602-32816-a0078da982c632ab686ec368b5055dca63ce0180.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-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-01-31Make LayoutHints a decoration aware layout modifierAndrea Rossato1-1/+4
darcs-hash:20080131082314-32816-665793ea8ce408fe0bc0f3c9ee9a16fa5404c3b7.gz
2008-01-30Various decorations related updatesSpencer Janssen1-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
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-26Add SimpleFloat a very basic floating layout that will place windows ↵Andrea Rossato1-5/+2
according to their size hints darcs-hash:20080126205410-32816-5cbea7a3f698b6e53b6fd9986c4edef7a1d5992e.gz
2008-01-26Decoration: code formatting onlyAndrea Rossato1-15/+12
darcs-hash:20080126101354-32816-58ace2b87a1f52405762930dfea3020ad8bed97f.gz
2008-01-25Add Decoration, a layout modifier and a class for easily writing decorated ↵Andrea Rossato1-0/+252
layouts darcs-hash:20080125151726-32816-bc0b6fc3e33a601e2973c08efa71da35f7f0f7ef.gz