summaryrefslogtreecommitdiffstats
path: root/XMonad/Core.hs
AgeCommit message (Collapse)Author
2010-01-18Rename numlockMask to numberlockMask to help users of the template config.Adam Vogt
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
2010-01-18Correct warnings with ghc-6.12Adam Vogt
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
2009-12-23Add xfork: a forkProcess that works around process global stateSpencer Janssen
Ignore-this: 3f968260d8c1b6710c82566520c47c43 darcs-hash:20091223061623-25a6b-3b3cc5f1a12543336e5b8581f9798989c4d848ac
2009-12-16Determine numlockMask automatically, fixes #120Spencer Janssen
Ignore-this: d80c82dd0a23dc7a77fdc32fd2792130 darcs-hash:20091216012140-25a6b-1730d8fef04b735b04475d1772e4825fa44cb318
2009-11-06Support for extensible state in contrib modules.Daniel Schoepe
Ignore-this: d04ee1989313ed5710c94f9d7fda3f2a darcs-hash:20091106115050-7f603-c88ce5e468856afd9e4d458ed3b0a2cfa39e63b3
2009-11-06Set SIGPIPE to default in forked processesSpencer Janssen
Ignore-this: f73943e4fe6c5f08967ddb82afad3eaa darcs-hash:20091106223743-25a6b-4dc0f10117fb79cd6eb62e9028463b524d504da5
2009-09-18Remove redundant parensSpencer Janssen
Ignore-this: aefa46cdb3ad8496e20d15a7e6b5fa52 darcs-hash:20090918035547-25a6b-626adbc3a96a55063577fe31043b53cc14264966
2009-05-04Only watch mtime for .hs, .lhs, .hsc for ~/.xmonad/libAdam Vogt
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
2009-03-22Add lib to ghc searchpath with recompilation checkAdam Vogt
Ignore-this: 8827fb02fe1101d7b66f05d363bef038 darcs-hash:20090321232907-1499c-69dd8a1d22d2c8f28a6545ec20713d519dbc7ac4
2009-02-08Use standard -fforce-recomp instead of undocumented -no-recompDon Stewart
darcs-hash:20090208165518-cba2c-2f7506b8ab856d7081a3298ed4cff86149fe0742
2009-02-03Support for custom event hooksDaniel Schoepe
Ignore-this: f22f1a7ae2d958ba1b3625aa923b7efd darcs-hash:20090203155536-cb1c6-834084657dbd5699030c7dd6dbb1ab153763b631
2009-01-28Make X an instance of TypeableDaniel Schoepe
Ignore-this: bb155e62ea4e451460e3b94508dc49d2 darcs-hash:20090128215406-cb1c6-89d81563549a976a6c9abd1e1dcc5c0e1412c9e5
2009-01-22Add uninstallSignalHandlers, use in spawnSpencer Janssen
Ignore-this: d91bde6f965341a2619fe2dde83cc099 darcs-hash:20090122002643-25a6b-7aea3d61d968ccdec5ad304043910bd30120aabe
2009-01-22Create a new session for forked processesSpencer Janssen
Ignore-this: f5d9cf254a0b07ddbf204457b7783880 darcs-hash:20090122000423-25a6b-953d34966aee5389a1e13368b5ab2a9d5dd4f7d1
2009-01-17Close stdin in spawned processesSpencer Janssen
Ignore-this: 2e372ed6215160adae8da1c44cdede3d darcs-hash:20090117040024-25a6b-4083a1b37e7f5c55cb7ee03c5edf46350bacdbf0
2009-01-17Document spawnPIDSpencer Janssen
Ignore-this: 1641bdcf5055b2ec7b9455265f5b1d52 darcs-hash:20090117035907-25a6b-1bd8e7677c7beff72fb78f74c053adb5f3fcfde3
2009-01-16Remove doubleFork, handle SIGCHLDSpencer Janssen
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
2009-01-10More flexible userCode functionDaniel Schoepe
darcs-hash:20090110221852-cb1c6-80f042287c9c6b704a37a2704e29841416aeca9b
2008-09-28add'l documentationDevin Mullins
darcs-hash:20080927234639-78224-1f1797ff1808ac3a82f694b87c2a7514ffac549e
2008-10-07Track mouse position via events receivedSpencer Janssen
darcs-hash:20081007203953-25a6b-820e60a7db931a5e5e27ab8736643aea932ca3ec
2008-06-01Haddock linksMalebria
darcs-hash:20080601212515-1ef02-00edd6567c840d7fec8ee7ed085b3cd2655ad6e3
2008-06-01Haddock syntax for enumerationMalebria
darcs-hash:20080601204951-1ef02-f66c70867a91bc35da3ab71b1169db4ba1ee62fe
2008-07-14I prefer the spencerjanssen@gmail.com address nowSpencer Janssen
darcs-hash:20080714202650-25a6b-294662e9b6b3592f37156af814171d5863557faa
2008-05-02Remember if focus changes were caused by mouse actions or by key commandsKlaus Weidner
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
2008-03-25Remove gapsSpencer Janssen
darcs-hash:20080325091526-a5988-e6ed58b0d493845525a4c7e5977352cfb12b9c92
2008-03-24Also print compilation errors to stderrSpencer Janssen
darcs-hash:20080324225857-a5988-623d8ab2a19923bccfe32f8adb23320004912831
2008-02-23add sendMessageWithNoRefresh and have broadcastMessage use itAndrea Rossato
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
2008-03-22commentsDon Stewart
darcs-hash:20080322041654-cba2c-a02ffa00d03a515c00ba04f7efd0281982769e22
2008-03-22formattingDon Stewart
darcs-hash:20080321230956-cba2c-5248cdf7b5694cbfaf2b6ba754ebc3c8a7fbd592
2008-03-11update documentationBrent Yorgey
darcs-hash:20080311160727-bd4d7-05229354077a443abab79de16b60ac32728813a3
2008-02-22runLayout is now a LayoutClass method and takes the Workspace and the screen ↵Andrea Rossato
Rectangle darcs-hash:20080222175815-32816-e3893760e1024bcbf30a4fbb71ca7c2b4d8bb403
2008-02-04Add a startupHook.Brent Yorgey
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
2008-02-04Core.hs: add an Applicative instance for XBrent Yorgey
darcs-hash:20080204192348-bd4d7-6a4edc163de3ea931a60050e4ad107390afc972e
2008-02-06module uses CPPDon Stewart
darcs-hash:20080206190521-cba2c-1c7303b14bf1c907e0f75e9c3bb44a033cc9734e
2008-02-04Rename runManageHook to runQuerySpencer Janssen
darcs-hash:20080204053336-a5988-0c8760f33f319acd30cd18630ada2b77a0875a5b
2008-02-03let enter dismiss compile errorsdaniel
darcs-hash:20080203202852-c98ca-e5c645e2332821ccc99587ba6562932860f6d9e6
2008-02-01Core.hs, StackSet.hs: some documentation updatesBrent Yorgey
darcs-hash:20080201190653-bd4d7-767473ef51a27bfdbadead306a1c3250dcaafaab
2008-01-28Generalize the type of catchIO, use it in Main.hsSpencer Janssen
darcs-hash:20080128054651-a5988-263142a13a2bb7dbe0d0084456fbe29b7b603e47
2008-01-24Add emptyLayout to LayoutClass, a method to be called when a workspace is emptyAndrea Rossato
darcs-hash:20080124013207-32816-35328360400d6ee06c81586b9e1cc45413df5a61
2008-01-14Export doubleForknicolas.pouillard
darcs-hash:20080114202612-94725-0a7751493059fe19084a8f19139ecbf8dd1446a7
2007-11-22reword comment (previous version didn't make sense to me)Lukas Mai
darcs-hash:20071122165925-462cf-613c038987aaf1b7182c0b533c0a0a7f4bda2263
2008-01-05The recompile function now returns a boolean status instead of ().nicolas.pouillard
darcs-hash:20080105225500-94725-1c05ae81351eaadb4f736e0d665f325618d76dbe
2007-12-29Make focus-follows-mouse configurableSpencer Janssen
darcs-hash:20071229023301-a5988-7576eb2625061b2dcca3da69d1be4a1e50a76e71
2007-12-29Strictify all XConfig fields, gives nice error messages when a field is ↵Spencer Janssen
forgotten on construction darcs-hash:20071229021923-a5988-ca68b84a0437a6d93700c864dbab8f9b46dd6855
2007-12-29SpellingSpencer Janssen
darcs-hash:20071229021628-a5988-7bfb596203b6f58bfaa87d8db0b19baf7d6df8bd
2007-12-29WibbleSpencer Janssen
darcs-hash:20071229021519-a5988-e41513840bcd94dc38093628d7b24d49d3e77c57
2007-12-22WibbleSpencer Janssen
darcs-hash:20071222041151-a5988-afd66322b26ccf10da39f99ab2fc997608aaa23c
2007-12-19Remove getProgName capability from restart, we don't use it anymoreSpencer Janssen
darcs-hash:20071219215011-a5988-f4c17d2d3f3a7a4ea6c9e5e8fe73b1c800cbb9d5
2007-12-19Flush pending X calls before restartingSpencer Janssen
darcs-hash:20071219162029-a5988-a7a299e39dbb3acd59f1a024ddec2d1462ea258d
2007-12-18Allow for sharing of home directory across architectures.tim.thelion
darcs-hash:20071218065146-c18d4-533b073367884fbd9212fc547ce9e4e558a21bc9