aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix MultiToggle crashes with decorated layoutsTomas Janousek2009-12-203-68/+40
| | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 9208f5da9f0de95464ea62cb45e8f291 The problem was that certain layouts keep their "world" state in their value, which was thrown away and forgotten after ReleaseResources during toggle. In particular, decorated layouts store some X11 handles in them and allocate/deallocate it as appropriate. If any modification to their state is ignored, they may try to deallocate already deallocated memory, which results in a crash somewhere inside Xlib. This patch makes Transformers reversible so that nothing is ever ignored. As a side effect, layout transformers now do receive messages and messages for the base layout do not need the undo/reapply cycle -- we just pass messages to the current transformed layout and unapply the transformer when needed. (This, however, doesn't mean that the base layout is not asked to release resources on a transformer change -- we still need the transformer to release its resources and there's no way to do this without asking the base layout as well.) darcs-hash:20091220004733-c9ff5-34670f3db8ab715d8f334973d6ea2a3e7f3aed7a.gz
* Golf / style change in U.ExtensibleStateAdam Vogt2009-12-081-7/+6
| | | | | | Ignore-this: c35bd85baae4700e14417ac7e07de959 darcs-hash:20091208010506-1499c-555a4c881b1f83658460c18a6745eeb94205fe6e.gz
* Style changes in EwmhDesktopsAdam Vogt2009-12-191-11/+8
| | | | | | Ignore-this: 905eff9ed951955c8f62617b2d82302e darcs-hash:20091219003824-1499c-8431cb12b4658c0143a41ecdbdb17f731bfd8f12.gz
* Add support for fullscreen through the _NET_WM_STATE protocolaudunskaugen2009-12-141-1/+36
| | | | | | | | | | Ignore-this: 430ca3c6779e36383f8ce8e477ee9622 This patch adds support for applications using the gtk_window_fullscreen function, and other applications using _NET_WM_STATE for the same purpose. darcs-hash:20091214135119-c4ed7-074a3df86fd22b8b0002c1020a5a94f89d8f597c.gz
* Bump version to 0.9.1Spencer Janssen2009-12-171-2/+2
| | | | | | Ignore-this: bcd799c3341ee6c69a259e1dca747cac darcs-hash:20091216232634-25a6b-1f30827d8b72159824ee677e11d73f5d142b0791.gz
* Match X11 dependencies with xmonad'sSpencer Janssen2009-12-161-1/+1
| | | | | | Ignore-this: bcbd6e3e5e2675cdac6f1d1b1bc09853 darcs-hash:20091216012630-25a6b-304ca86e5e175c31cdc6502358bd1930ac82ea06.gz
* Safer X11 version dependencySpencer Janssen2009-12-161-1/+1
| | | | | | Ignore-this: 6dc805a8a0c7a3d3369bc1d6d97d4f56 darcs-hash:20091216005916-25a6b-0b35626ef9243003f0462ba808685b009252d7c4.gz
* Update Prompt for numlockMask changesSpencer Janssen2009-11-031-7/+6
| | | | | | Ignore-this: 4980e2fdf4c296a266590cc4acf76e1e darcs-hash:20091103222621-25a6b-429b2f1d687a6e10a1c6426e7a04fa3d22212f4c.gz
* X.L.MouseResizableTile: change description for mirrored variantTomas Janousek2009-12-111-1/+2
| | | | | | | | | | Ignore-this: dbc02fb777e35cdc15fb11979c1e983e The description for mirrored MouseResizableTile is now "Mirror MouseResizableTile", to follow the standard of other layouts that can be mirrored using the Mirror modifier. darcs-hash:20091211124218-c9ff5-5f94a9f2514aaa75a6783e99ac78427f4c09dc6c.gz
* X.A.GridSelect: documentation typo fixTomas Janousek2009-12-111-2/+2
| | | | | | | | Ignore-this: 521bef2a73a9e969d7a96defb555177b spotted by Justin on IRC darcs-hash:20091211182515-c9ff5-01b20f90615b7f88f1c61f521a2e60f8670777af.gz
* A.GridSelect shouldn't grab keys if there are no choices.Adam Vogt2009-12-101-0/+1
| | | | | | | | | Ignore-this: 48509f780120014a10b32e7289369f32 Thanks thermal2008 in #xmonad for bringing up the corner case when gridselect is run with an empty list of choices. darcs-hash:20091210183038-1499c-b1c6ae201f7ce908ad09274cef7dd10fe83dd5c2.gz
* onScreen' variation for X () functionsNils Schweinsberg2009-12-091-15/+40
| | | | | | Ignore-this: 6a9644c729c2b60f94398260f3640e4d darcs-hash:20091209003717-1f2e3-0f9b6f1f277e7b502d7d45dbb3175951ec9a99e3.gz
* Added Bluetile's configJan Vornberger2009-12-092-0/+216
| | | | | | Ignore-this: 641ae527ca6f615e81822b6f38f827e7 darcs-hash:20091209150309-594c5-c049613cfa4253f08b448470d0506fa5a00ce7ff.gz
* BluetileCommands - a list of commands that Bluetile uses to communicate with ↵Jan Vornberger2009-12-092-0/+84
| | | | | | | | its dock Ignore-this: 1a5a5e69c7c37d3ffe8d8e09496568de darcs-hash:20091208234431-594c5-d2e921046b8e3a5af12cb94ab681fcf4c7b45d67.gz
* Use lookup instead of find in A.PerWorkspaceKeysAdam Vogt2009-11-291-5/+4
| | | | | | Ignore-this: 7ecb043df4317365ff3d25b17303eed8 darcs-hash:20091129032650-1499c-73cf78ec246d6c088d01e8c0eeae32fa3978f3dc.gz
* Change of X.A.OnScreen, more simple and predictable behaviour of onScreen, ↵Nils Schweinsberg2009-12-071-52/+101
| | | | | | | | new functions: toggle(Greedy)OnScreen Ignore-this: c375250778758e401217bcad83567d3b darcs-hash:20091207155050-1f2e3-a14155ae12764e3c998439cd7e06ebcf6b767985.gz
* Module to ensure that a dragged window always stays in front of all other ↵Jan Vornberger2009-11-292-0/+63
| | | | | | | | windows Ignore-this: a8a389198ccc28a66686561d4d17e91b darcs-hash:20091129004506-594c5-4266465b2a3105e45f1ff9838d9e98dd14390106.gz
* Decoration that allows to switch the position of windows by dragging them ↵Jan Vornberger2009-11-293-0/+155
| | | | | | | | onto each other. Ignore-this: 38aff0f3beb1a1eb304219c4f3e85593 darcs-hash:20091129003431-594c5-3d57fe54414de7e9cfd10192cc18aa561e2b77f2.gz
* A decoration with small buttons and a supporting moduleJan Vornberger2009-11-293-0/+181
| | | | | | Ignore-this: 2d65133bc5b9ad29bad7d06780bdaa4 darcs-hash:20091129002416-594c5-d4c577ef4ed2288a949ae89d06ada5c165c1165c.gz
* XMonad.Actions.Search: finally fixed the internet archive search plugingwern02009-12-051-4/+1
| | | | | | Ignore-this: c78ecebced9bc8e39e6077ffa9f9f182 darcs-hash:20091205033435-f7719-37e2258a72279fdde3da375e3408218dac567678.gz
* XMonad.Actions.Search: in retrospect, a bit silly to make everyone go ↵gwern02009-12-051-2/+2
| | | | | | | | through SSL Ignore-this: 452b4e6efb83935fc1063ab695ae074d darcs-hash:20091205033318-f7719-26d70fd5d8a110c880c3277583730a1b49190015.gz
* Prompt.hs: Corrected quit keybindingsTim Horton2009-12-031-1/+2
| | | | | | Ignore-this: e8cd2cd1d41f6807f68157ef37c631ea darcs-hash:20091203050041-1db5e-9daac5517f5dba450e04af18a117e74e3361e48b.gz
* Extended decoration module with more hooks and consolidated some existing onesJan Vornberger2009-11-293-36/+50
| | | | | | Ignore-this: 5a23af3009ecca2feb9a84f8c6f8ac33 darcs-hash:20091128234310-594c5-8b6cd110f95678fd49fa1c20b0d4c69ef0fbeec5.gz
* Extended decoration theme to contain extra static text that always appears ↵Jan Vornberger2009-10-242-1/+6
| | | | | | | | in the title bar Ignore-this: 95f46d6b9ff716a2d8002a426c1012c8 darcs-hash:20091024213928-594c5-bd98d27b6a6389e04aeef5e1a80d9dbf2a32c46b.gz
* Extended paintAndWrite to allow for multiple strings to be written into the ↵Jan Vornberger2009-10-243-14/+17
| | | | | | | | rectangle Ignore-this: eb7d32284b7f98145038dcaa14f8075e darcs-hash:20091024205111-594c5-33318832d5ca7d71ece560ea79d45109001eadfb.gz
* Added the alignment option 'AlignRightOffset'Jan Vornberger2009-10-242-2/+3
| | | | | | Ignore-this: 58cc00e1be669877e38a97e36b924969 darcs-hash:20091024204513-594c5-0156243473792c90824835f7fc0cbc8b5078336c.gz
* Prevent windows from being decorated that are too small to contain decoration.Jan Vornberger2009-06-271-3/+3
| | | | | | Ignore-this: 39b806462bbd424f1206b635e9d506e1 darcs-hash:20090627094316-594c5-c34126e335304e76e57eb0bcacae5e2f7e9b8804.gz
* X.L.MouseResizableTile: keep draggers on the bottom of the window stack.Tomas Janousek2009-11-261-0/+1
| | | | | | Ignore-this: 8089cf8ce53580090b045f4aebb1b899 darcs-hash:20091126173413-c9ff5-2fd78e7bbedef172c2abfc2c2e46c19f13fb7a52.gz
* Implemented smarter system of managing borders for BorderResizeJan Vornberger2009-11-231-42/+109
| | | | | | Ignore-this: 4775c082249e598a84c79b2e819f28b0 darcs-hash:20091122233651-594c5-9f3be5403a874170dbe55cd3c1562d0dc91369a5.gz
* X.H.DynamicLog: fix xmonadPropLog double-encoding of UTF-8Tomas Janousek2009-11-211-4/+4
| | | | | | | | | Ignore-this: bde612bbd1a19951f9718a03e737c4ac dynamicLogString utf-8 encodes its output, xmonadPropLog shouldn't do that again. darcs-hash:20091121004829-c9ff5-64b4d4052ae78220e8db863b4dbc77b0a6297174.gz
* X.H.DynamicLog: make documentation for 'dzen' and 'xmobar' slightly more clearBrent Yorgey2009-11-211-3/+9
| | | | | | Ignore-this: c9a241677fda21ef93305fc3882f102e darcs-hash:20091121170739-1e371-18e128232f780146a0d07f97b9f12f77a82f98e5.gz
* X.H.ManageDocks: ignore struts that cover an entire screen on that screenTomas Janousek2009-11-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: ad7bbf10c49c9f3e938cdc3d8588e202 Imagine a screen layout like this: 11111111 11111111 11111111 222222 <--- xmobar here 222222 222222 When placing xmobar as indicated, the partial strut property indicates that an entire height of screen 1 is covered by the strut, as well as a few lines at the top of screen 2. The original code would create a screen rectangle of negative height and wreak havoc. This patch causes such strut to be ignored on the screen it covers entirely, resulting in the desired behaviour of a small strut at the top of screen 2. Please note that this semantics of _NET_WM_STRUT and _NET_WM_STRUT_PARTIAL is different to what is in wm-spec. The "correct" thing to do would be to discard the covered portion of screen 1 leaving two narrow areas at the sides, but this new behaviour is probably more desirable in many cases, at least for xmonad/xmobar users. The correct solution of having separate _NET_WM_STRUT_PARTIAL for each Xinerama screen was mentioned in wm-spec maillist in 2007, but has never really been proposed, discussed and included in wm-spec. Hence this "hack". darcs-hash:20091119145043-c9ff5-b4494537b40d2d44abec5fbcec8ea7c3c3ef1a6b.gz
* Use imported 'fi' in PositionStoreHooksAdam Vogt2009-11-191-2/+1
| | | | | | Ignore-this: 6563a3093083667c79aa491a6f59b805 darcs-hash:20091119103112-1499c-e0ded57d325cf75820408eb30b6c30611073ef01.gz
* Changed interface of X.U.ExtensibleStateDaniel Schoepe2009-11-169-54/+54
| | | | | | | | | Ignore-this: 9a830f9341e461628974890bab0bd65b Changed the interface of X.U.ExtensibleState to resemble that of Control.Monad.State and modified the modules that use it accordingly. darcs-hash:20091116171013-7f603-0631dc163d78785b123bc10164ee3295add28b60.gz
* PositionStoreFloat - a floating layout with support hooksJan Vornberger2009-11-155-2/+197
| | | | | | Ignore-this: 8b1d0fcef1465356d72cb5f1f32413b6 darcs-hash:20091115184833-594c5-9534e1ec9be959d18713bfdd1edbc1f5995cc4a8.gz
* PositionStore utility to store information about position and size of a windowJan Vornberger2009-11-082-0/+82
| | | | | | Ignore-this: 2f6e68a490deb75cba5d007b30c93fb2 darcs-hash:20091108195735-594c5-80fb89be9b363a7b0a8d4f54b968c57f4d0e9c74.gz
* X.H.Urgencyhook fix minor doc bugAnders Engstrom2009-11-151-1/+1
| | | | | | Ignore-this: 18b63bccedceb66c77b345a9300f1ac3 darcs-hash:20091115131121-8978f-fd96cfc0b50bd14b0e7384ef3ad80fd0ad6c2bfa.gz
* X.H.DynamicLog fix minor indentation oddnessAnders Engstrom2009-11-151-15/+15
| | | | | | Ignore-this: 7f2c49eae5527874ca4499767f4167c4 darcs-hash:20091115130707-8978f-fc8f41e624d9c8ab5ec2a06a89429ab9612c31aa.gz
* X.A.CycleWS cycle by tag groupAnders Engstrom2009-11-151-0/+7
| | | | | | | Ignore-this: 909da8c00b47a31d04f59bd3751c60bc Allow grouping of workspaces, so that a user can cycle through those in the same group. Grouping is done by using a special character in the tag. darcs-hash:20091115130217-8978f-b0d053d44faa9b3d165b5f0b8c4aab3d27caca37.gz
* Use less short names in X.PromptAdam Vogt2009-11-151-5/+2
| | | | | | Ignore-this: 1d27b8efc4d829a5642717c6f6426336 darcs-hash:20091115025647-1499c-f326242916f623c9685e2ecc1bc2ea7ab600ebfd.gz
* Use io instead of liftIO in PromptAdam Vogt2009-11-151-9/+9
| | | | | | Ignore-this: cd4031b74cd5bb874cd2c3cc2cb087f2 darcs-hash:20091115025301-1499c-992bfa7612baa7b5c6c992208b12eb2e06df50d9.gz
* 'io' and 'fi' are defined outside of PromptAdam Vogt2009-11-151-9/+2
| | | | | | Ignore-this: 3426056362db9cbfde7d2f4edbfe6f36 darcs-hash:20091115024001-1499c-c9804d0b6432f429f6c403d1dade7b4343532b9e.gz
* Use zipWithM_ instead of recursion in Prompt.printComplListAdam Vogt2009-11-151-22/+9
| | | | | | Ignore-this: 2457500ed871ef120653a3d4ada13441 darcs-hash:20091115023451-1499c-c72a17e4146be3caa97728f10dc7e39270a01c39.gz
* Minor style changes in DynamicWorkspacesAdam Vogt2009-11-151-18/+15
| | | | | | Ignore-this: 1a6018ab134e4420a949354575a8a110 darcs-hash:20091115022751-1499c-c2f8ccf3cada9e16a5d35e87e41baa160c74e774.gz
* X.A.DynamicWorkspaces fix doc and add behaviourAnders Engstrom2009-11-141-9/+51
| | | | | | | Ignore-this: ab7c20a9c1b43ebc6a7f4700d988fb73 Before this patch the documentation claims that it won't do anything on non-empty workspaces when it actually does. This patch fixes the documentation to reflect the actual behaviour, but also adds the behaviour promised by the documentation in other functions. It does not break configs. In addition it also provides functions to help removing empty workspaces when leaving them. darcs-hash:20091113233903-8978f-1adf2aba46b7931732b51338c3f73508e840a487.gz
* rework XMonad.Util.Dzendaniel2009-11-141-12/+145
| | | | | | Ignore-this: 16d93f91c54f7d195b1a418e6c0351c5 darcs-hash:20091114051509-c98ca-aeb393daca11b2760066b030f45f6691571e3a1f.gz
* generalize IO actions to MonadIO mdaniel2009-11-145-11/+12
| | | | | | | | Ignore-this: 2c801a27b0ffee34a2f0daca3778613a This should not cause any working configs to stop working, because IO is an instance of MonadIO, and because complete configs will pin down the type of the call to IO. Note that XMonad.Config.Arossato is not a complete config, and so it needed some tweaks; with a main function, this should not be a problem. darcs-hash:20091114023616-c98ca-0a233cc53c41986845db4300530ec4f9e4d52a37.gz
* fix documentation to match implementationdaniel2009-11-141-2/+1
| | | | | | Ignore-this: 6dbbb118b139f443c40a573445a48d07 darcs-hash:20091114021328-c98ca-645fad0f6b8276a7682f9a4c852c1af7cb8a4e34.gz
* Bypass more of stringToKeysym in U.PasteAdam Vogt2009-11-142-2/+8
| | | | | | Ignore-this: 617c922647e9f49f5ecefa0eb1c65d3c darcs-hash:20091114223726-1499c-aac00e2ea1780619f15462df90216eba005ba8d1.gz
* Don't erase floating information with H.InsertPosition (Issue 334)Adam Vogt2009-11-131-1/+1
| | | | | | Ignore-this: de1c03eb860ea25b390ee5c756b02997 darcs-hash:20091113161402-1499c-779e2879fe96727dcc46ee7e7d74c5169036a19d.gz