aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Core.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-02-14Various clean-ups suggested by HLintSpencer Janssen1-1/+1
Ignore-this: ccaa6e774f2f8169e6083eddcffe31b6 darcs-hash:20100214025750-25a6b-c15d6ca0ac2f1dc7d3da2f7b311584df7f96dffd.gz
2010-01-18Rename numlockMask to numberlockMask to help users of the template config.Adam Vogt1-1/+1
Ignore-this: 4050ed2d1ad373386c2e2b44145f07d9 Without the change, the errors are like: > [ unrelated error messages ] > No constructor has all these fields: `numlockMask', > `terminal', [every other field set] With the change: > `numlockMask' is not a record selector > [ context where numlockMask is named ] darcs-hash:20100118162256-1499c-c473138c7c8589e7a40fa17675fd5cafe2dc4c11.gz
2010-01-18Correct warnings with ghc-6.12Adam Vogt1-8/+9
Ignore-this: a48ed095b72aedec9eeb88781ace66dc Changes include: - compatibility with base-4 or 3 (base-2 untested) by using extensible-exceptions. This adds an additional dependency for users of ghc<6.10) - list all dependencies again when -ftesting (change in Cabal-1.8.0.2) - remove unnecessary imports - suppress -fwarn-unused-do-bind, with appropriate Cabal-1.8 workaround, described here: http://www.haskell.org/pipermail/xmonad/2010-January/009554.html darcs-hash:20100118181532-1499c-5c496678ef76f2f50b43b0fc4582cfef7c237654.gz
2009-12-23Add xfork: a forkProcess that works around process global stateSpencer Janssen1-3/+7
Ignore-this: 3f968260d8c1b6710c82566520c47c43 darcs-hash:20091223061623-25a6b-3b3cc5f1a12543336e5b8581f9798989c4d848ac.gz
2009-12-16Determine numlockMask automatically, fixes #120Spencer Janssen1-1/+2
Ignore-this: d80c82dd0a23dc7a77fdc32fd2792130 darcs-hash:20091216012140-25a6b-1730d8fef04b735b04475d1772e4825fa44cb318.gz
2009-11-06Support for extensible state in contrib modules.Daniel Schoepe1-7/+39
Ignore-this: d04ee1989313ed5710c94f9d7fda3f2a darcs-hash:20091106115050-7f603-c88ce5e468856afd9e4d458ed3b0a2cfa39e63b3.gz
2009-11-06Set SIGPIPE to default in forked processesSpencer Janssen1-0/+1
Ignore-this: f73943e4fe6c5f08967ddb82afad3eaa darcs-hash:20091106223743-25a6b-4dc0f10117fb79cd6eb62e9028463b524d504da5.gz
2009-09-18Remove redundant parensSpencer Janssen1-1/+1
Ignore-this: aefa46cdb3ad8496e20d15a7e6b5fa52 darcs-hash:20090918035547-25a6b-626adbc3a96a55063577fe31043b53cc14264966.gz
2009-05-04Only watch mtime for .hs, .lhs, .hsc for ~/.xmonad/libAdam Vogt1-1/+2
Ignore-this: e3b1847edf3e07a8182f7fcfc23b00c8 Previously xmonad would force a recompile due to the object files being too new, so only look at files which may contain haskell code. darcs-hash:20090503235415-1499c-50100b58df81d6e0506bbaf937b476a018064271.gz
2009-03-22Add lib to ghc searchpath with recompilation checkAdam Vogt1-4/+13
Ignore-this: 8827fb02fe1101d7b66f05d363bef038 darcs-hash:20090321232907-1499c-69dd8a1d22d2c8f28a6545ec20713d519dbc7ac4.gz
2009-02-08Use standard -fforce-recomp instead of undocumented -no-recompDon Stewart1-1/+1
darcs-hash:20090208165518-cba2c-2f7506b8ab856d7081a3298ed4cff86149fe0742.gz
2009-02-03Support for custom event hooksDaniel Schoepe1-0/+3
Ignore-this: f22f1a7ae2d958ba1b3625aa923b7efd darcs-hash:20090203155536-cb1c6-834084657dbd5699030c7dd6dbb1ab153763b631.gz
2009-01-28Make X an instance of TypeableDaniel Schoepe1-1/+1
Ignore-this: bb155e62ea4e451460e3b94508dc49d2 darcs-hash:20090128215406-cb1c6-89d81563549a976a6c9abd1e1dcc5c0e1412c9e5.gz
2009-01-22Add uninstallSignalHandlers, use in spawnSpencer Janssen1-2/+8
Ignore-this: d91bde6f965341a2619fe2dde83cc099 darcs-hash:20090122002643-25a6b-7aea3d61d968ccdec5ad304043910bd30120aabe.gz
2009-01-22Create a new session for forked processesSpencer Janssen1-2/+3
Ignore-this: f5d9cf254a0b07ddbf204457b7783880 darcs-hash:20090122000423-25a6b-953d34966aee5389a1e13368b5ab2a9d5dd4f7d1.gz
2009-01-17Close stdin in spawned processesSpencer Janssen1-2/+9
Ignore-this: 2e372ed6215160adae8da1c44cdede3d darcs-hash:20090117040024-25a6b-4083a1b37e7f5c55cb7ee03c5edf46350bacdbf0.gz
2009-01-17Document spawnPIDSpencer Janssen1-0/+1
Ignore-this: 1641bdcf5055b2ec7b9455265f5b1d52 darcs-hash:20090117035907-25a6b-1bd8e7677c7beff72fb78f74c053adb5f3fcfde3.gz
2009-01-16Remove doubleFork, handle SIGCHLDSpencer Janssen1-16/+29
Ignore-this: f9b1a65b4f0622922f80ad2ab6c5a52f This is a rather big change. Rather than make spawned processes become children of init, we handle them in xmonad. As a side effect of this change, we never need to use waitForProcess in any contrib module -- in fact, doing so will raise an exception. The main benefit to handling SIGCHLD is that xmonad can now be started with 'exec', and will correctly clean up after inherited child processes. darcs-hash:20090116204742-25a6b-9594fc6cdfcd5552894b64b4b6137f8a7cf2021d.gz
2009-01-10More flexible userCode functionDaniel Schoepe1-3/+9
darcs-hash:20090110221852-cb1c6-80f042287c9c6b704a37a2704e29841416aeca9b.gz
2008-09-28add'l documentationDevin Mullins1-1/+2
darcs-hash:20080927234639-78224-1f1797ff1808ac3a82f694b87c2a7514ffac549e.gz
2008-10-07Track mouse position via events receivedSpencer Janssen1-0/+3
darcs-hash:20081007203953-25a6b-820e60a7db931a5e5e27ab8736643aea932ca3ec.gz
2008-06-01Haddock linksMalebria1-14/+14
darcs-hash:20080601212515-1ef02-00edd6567c840d7fec8ee7ed085b3cd2655ad6e3.gz
2008-06-01Haddock syntax for enumerationMalebria1-0/+3
darcs-hash:20080601204951-1ef02-f66c70867a91bc35da3ab71b1169db4ba1ee62fe.gz
2008-07-14I prefer the spencerjanssen@gmail.com address nowSpencer Janssen1-1/+1
darcs-hash:20080714202650-25a6b-294662e9b6b3592f37156af814171d5863557faa.gz
2008-05-02Remember if focus changes were caused by mouse actions or by key commandsKlaus Weidner1-0/+1
If the user used the mouse to change window focus (moving into or clicking on a window), this should be handled differently than focus changes due to keyboard commands. Specifically, it's inappropriate to discard window enter/leave events while the mouse is moving. This fixes the bug where a fast mouse motion across multiple windows resulted in the wrong window keeping focus. It's also helpful information for contrib modules such as UpdatePointer - it's supposed to move the mouse pointer only in response to keyboard actions, not if the user was moving the mouse. darcs-hash:20080502175603-e41d7-0ac41e5353fcd8aed71ee3beb7f5511337225155.gz
2008-03-25Remove gapsSpencer Janssen1-5/+2
darcs-hash:20080325091526-a5988-e6ed58b0d493845525a4c7e5977352cfb12b9c92.gz
2008-03-24Also print compilation errors to stderrSpencer Janssen1-0/+3
darcs-hash:20080324225857-a5988-623d8ab2a19923bccfe32f8adb23320004912831.gz
2008-02-23add sendMessageWithNoRefresh and have broadcastMessage use itAndrea Rossato1-21/+2
This patch: - moves broadcastMessage and restart from Core to Operations (to avoid circular imports); - in Operations introduces sendMessageWithNoRefresh and move updateLayout outside windows. - broadcastMessage now uses sendMessageWithNoRefresh to obey to this rules: 1. if handleMessage returns Nothing no action is taken; 2. if handleMessage returns a Just ml *only* the layout field of the workspace record will be updated. darcs-hash:20080223130702-32816-60d71cd8ac32cff1d4039947142332023274a725.gz
2008-03-22commentsDon Stewart1-1/+2
darcs-hash:20080322041654-cba2c-a02ffa00d03a515c00ba04f7efd0281982769e22.gz
2008-03-22formattingDon Stewart1-2/+5
darcs-hash:20080321230956-cba2c-5248cdf7b5694cbfaf2b6ba754ebc3c8a7fbd592.gz
2008-03-11update documentationBrent Yorgey1-27/+62
darcs-hash:20080311160727-bd4d7-05229354077a443abab79de16b60ac32728813a3.gz
2008-02-22runLayout is now a LayoutClass method and takes the Workspace and the screen ↵Andrea Rossato1-7/+7
Rectangle darcs-hash:20080222175815-32816-e3893760e1024bcbf30a4fbb71ca7c2b4d8bb403.gz
2008-02-04Add a startupHook.Brent Yorgey1-0/+1
The only thing I am not sure about here is at what exact point the startupHook should get run. I picked a place that seems to make sense: as late as possible, right before entering the main loop. That way all the layouts/workspaces/other state are set up and the startupHook can manipulate them. darcs-hash:20080204192445-bd4d7-218d69dcf3cd5c5f2962859cf847595527399807.gz
2008-02-04Core.hs: add an Applicative instance for XBrent Yorgey1-0/+4
darcs-hash:20080204192348-bd4d7-6a4edc163de3ea931a60050e4ad107390afc972e.gz
2008-02-06module uses CPPDon Stewart1-1/+1
darcs-hash:20080206190521-cba2c-1c7303b14bf1c907e0f75e9c3bb44a033cc9734e.gz
2008-02-04Rename runManageHook to runQuerySpencer Janssen1-3/+3
darcs-hash:20080204053336-a5988-0c8760f33f319acd30cd18630ada2b77a0875a5b.gz
2008-02-03let enter dismiss compile errorsdaniel1-1/+1
darcs-hash:20080203202852-c98ca-e5c645e2332821ccc99587ba6562932860f6d9e6.gz
2008-02-01Core.hs, StackSet.hs: some documentation updatesBrent Yorgey1-20/+21
darcs-hash:20080201190653-bd4d7-767473ef51a27bfdbadead306a1c3250dcaafaab.gz
2008-01-28Generalize the type of catchIO, use it in Main.hsSpencer Janssen1-1/+1
darcs-hash:20080128054651-a5988-263142a13a2bb7dbe0d0084456fbe29b7b603e47.gz
2008-01-24Add emptyLayout to LayoutClass, a method to be called when a workspace is emptyAndrea Rossato1-1/+6
darcs-hash:20080124013207-32816-35328360400d6ee06c81586b9e1cc45413df5a61.gz
2008-01-14Export doubleForknicolas.pouillard1-1/+1
darcs-hash:20080114202612-94725-0a7751493059fe19084a8f19139ecbf8dd1446a7.gz
2007-11-22reword comment (previous version didn't make sense to me)Lukas Mai1-2/+2
darcs-hash:20071122165925-462cf-613c038987aaf1b7182c0b533c0a0a7f4bda2263.gz
2008-01-05The recompile function now returns a boolean status instead of ().nicolas.pouillard1-2/+7
darcs-hash:20080105225500-94725-1c05ae81351eaadb4f736e0d665f325618d76dbe.gz
2007-12-29Make focus-follows-mouse configurableSpencer Janssen1-0/+1
darcs-hash:20071229023301-a5988-7576eb2625061b2dcca3da69d1be4a1e50a76e71.gz
2007-12-29Strictify all XConfig fields, gives nice error messages when a field is ↵Spencer Janssen1-15/+15
forgotten on construction darcs-hash:20071229021923-a5988-ca68b84a0437a6d93700c864dbab8f9b46dd6855.gz
2007-12-29SpellingSpencer Janssen1-1/+1
darcs-hash:20071229021628-a5988-7bfb596203b6f58bfaa87d8db0b19baf7d6df8bd.gz
2007-12-29WibbleSpencer Janssen1-2/+1
darcs-hash:20071229021519-a5988-e41513840bcd94dc38093628d7b24d49d3e77c57.gz
2007-12-22WibbleSpencer Janssen1-1/+1
darcs-hash:20071222041151-a5988-afd66322b26ccf10da39f99ab2fc997608aaa23c.gz
2007-12-19Remove getProgName capability from restart, we don't use it anymoreSpencer Janssen1-11/+5
darcs-hash:20071219215011-a5988-f4c17d2d3f3a7a4ea6c9e5e8fe73b1c800cbb9d5.gz
2007-12-19Flush pending X calls before restartingSpencer Janssen1-0/+1
darcs-hash:20071219162029-a5988-a7a299e39dbb3acd59f1a024ddec2d1462ea258d.gz