aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hsc (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-03Support for custom event hooksDaniel Schoepe1-1/+9
Ignore-this: f22f1a7ae2d958ba1b3625aa923b7efd darcs-hash:20090203155536-cb1c6-834084657dbd5699030c7dd6dbb1ab153763b631.gz
2009-01-17Add --restart, a command line flag to cause a running xmonad process to restartSpencer Janssen1-0/+6
Ignore-this: 45c8c8aba7cc7391b95c7e3fb01e5bf9 darcs-hash:20090117034959-25a6b-794fb65d26a59f6ca34b16538c35dc3c266ced7d.gz
2009-01-16Remove doubleFork, handle SIGCHLDSpencer Janssen1-3/+2
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-2/+2
darcs-hash:20090110221852-cb1c6-80f042287c9c6b704a37a2704e29841416aeca9b.gz
2008-12-05Accept inferior crossing events. This patch enables fmouse-focus-follows-screenSpencer Janssen1-1/+0
Ignore-this: 3ac329fb92839827aed0a4370784cabd darcs-hash:20081205045130-25a6b-971d40d7a853d12c2a34a1bfbd6ea77d6645af89.gz
2008-11-06Change screen focus by clicking on the root window.Spencer Janssen1-3/+5
This is a modification of a patch from Joachim Breitner. darcs-hash:20081106224031-25a6b-975b5af81ed6b1c3baa73015f3ff3dd009a31a9f.gz
2008-10-22Fix #192.Spencer Janssen1-7/+12
darcs-hash:20081021220059-25a6b-11b9b480bec9d902626f1c0c281333470e76e245.gz
2008-10-07Track mouse position via events receivedSpencer Janssen1-3/+13
darcs-hash:20081007203953-25a6b-820e60a7db931a5e5e27ab8736643aea932ca3ec.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-1/+2
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-04-18formatting, eta expansionDon Stewart1-3/+8
darcs-hash:20080418184337-cba2c-a316c61d1a56205e8b7a0e7b7573446449e229fe.gz
2008-04-06XMonad.Main: call setlocale on startupLukas Mai1-1/+11
darcs-hash:20080406011234-462cf-09fde81185653a210d292b90b02595de7c365bb1.gz
2008-03-25Remove gapsSpencer Janssen1-3/+1
darcs-hash:20080325091526-a5988-e6ed58b0d493845525a4c7e5977352cfb12b9c92.gz
2008-03-25Main.hs: startupHook should be guarded by userCodeBrent Yorgey1-1/+1
darcs-hash:20080325171241-bd4d7-a979bcfacd914c6566b7d3afc701f95b0d62f34d.gz
2008-03-21XMonad.Core: ignore SIGPIPE, let write calls throwLukas Mai1-0/+3
darcs-hash:20080321171911-462cf-b7c8fc03b362a6bf97036963e1646e650e223016.gz
2008-03-11update documentationBrent Yorgey1-2/+3
darcs-hash:20080311160727-bd4d7-05229354077a443abab79de16b60ac32728813a3.gz
2008-02-04Add a startupHook.Brent Yorgey1-0/+2
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-07Remove non-existent windows on restartSpencer Janssen1-6/+9
darcs-hash:20080207091140-a5988-62b6074316ef87f2e728064f8262d9415ec9bee3.gz
2008-02-06Lift initColor exceptions into MaybeDon Stewart1-2/+9
We should audit all X11 Haskell lib calls we make for whether they throw undocumented exceptions, and then banish that. darcs-hash:20080206194858-cba2c-143b6edd906a9ddfcc8ff85b4a42ebea0f3462bf.gz
2008-01-18Simplify duplicate/cloned screen logicSpencer Janssen1-2/+1
darcs-hash:20080118032228-a5988-04035889f9b0a1230b09a9334ea6341783e16052.gz
2007-12-29Make focus-follows-mouse configurableSpencer Janssen1-1/+2
darcs-hash:20071229023301-a5988-7576eb2625061b2dcca3da69d1be4a1e50a76e71.gz
2007-12-27Broadcast button events to all layouts, fix for issue #111Spencer Janssen1-1/+1
darcs-hash:20071227080356-a5988-84b6fa045d2a0d4fcc0c2d3c2ab673d5419d5130.gz
2007-12-11Clean up stale mapped/waitingUnmap state in handle rather than unmanage.Spencer Janssen1-1/+4
This is an attempt to fix issue #96. Thanks to jcreigh for the insights necessary to fix the bug. darcs-hash:20071211074810-a5988-47be5e16650bf0c0ad5d0e638d03753a78958fd6.gz
2007-12-11Delete windows from waitingUnmap that aren't waitng for any unmapsSpencer Janssen1-1/+3
darcs-hash:20071211074506-a5988-86d61a18c3480ed6aab7acac068c59b5db062b81.gz
2007-12-10normalize Module headersLukas Mai1-1/+1
darcs-hash:20071210085327-462cf-bc856d2e75b32906274cf0c3b9aad9e406385766.gz
2007-11-11XMonad.Main uses FlexibleContextsSpencer Janssen1-1/+1
darcs-hash:20071111214528-a5988-e1b209559ebca4d216870cb866f5e3c82aa8ec7b.gz
2007-11-11hide existential Layout (mostly) from user API.David Roundy1-2/+4
darcs-hash:20071111003055-72aca-77eb2071cd596e0e13746413807f375d199dbe32.gz
2007-11-07Provide top level XMonad.hs export moduleDon Stewart1-2/+2
darcs-hash:20071107030617-cba2c-8c900566b5e1784737fefe3273486f8a1238da55.gz
2007-11-05makeMain -> xmonadDon Stewart1-3/+3
darcs-hash:20071105031203-cba2c-0bf3d2d6e186ab307457f99b5b73afd333802e45.gz
2007-11-05EventLoop -> Core, DefaultConfig -> ConfigDon Stewart1-2/+2
darcs-hash:20071105021705-cba2c-fc7ffc11ffa9a5397cc40a5dba530ca620018f25.gz
2007-11-02Float handler out of makeMain, make keys and mouseBindings dependent on ↵Spencer Janssen1-122/+131
XConfig for easy modMask switching darcs-hash:20071102025924-a5988-bbddb07ed8c00cb4279db059f2513eba4ce3ecb5.gz
2007-11-01HierarchifySpencer Janssen1-4/+4
darcs-hash:20071101180846-a5988-25ba1c9ce37a35c1533e4075cc9494c6f7dd5ade.gz
2007-11-01Main.hs -> DefaultConfig.hs, add new Main.hs with 'buildLaunch'Spencer Janssen1-1/+1
darcs-hash:20071101175749-a5988-f1a90deded30d52f4050bb528a4a2e44f15cfca2.gz
2007-11-01Add readsLayout, remove the existential from XConfigSpencer Janssen1-1/+2
darcs-hash:20071101082155-a5988-82be25ec6b35cb1d39e0613b3d810dfd75836098.gz
2007-11-01Delete Main.hs-boot!Spencer Janssen1-4/+7
darcs-hash:20071101080045-a5988-d3b50a7fe35ff4e38c90e9eb8da1f1963b3b27fd.gz
2007-11-01Eliminate defaultTerminalSpencer Janssen1-1/+0
darcs-hash:20071101073147-a5988-9c2da610e085026e3a1b981114b116718331273c.gz
2007-11-01Store user configuration in XConfSpencer Janssen1-22/+7
darcs-hash:20071101072308-a5988-e5a5231e3adcff8f03ebdab37721b19c0e19fc00.gz
2007-11-01This is a massive update, here's what has changed:Spencer Janssen1-21/+24
* Read is no longer a superclass of Layout * All of the core layouts have moved to the new Layouts.hs module * Select has been replaced by the new statically typed Choose combinator, which is heavily based on David Roundy's NewSelect proposal for XMonadContrib. Consequently: - Rather than a list of choosable layouts, we use the ||| combinator to combine several layouts into a single switchable layout - We've lost the capability to JumpToLayout and PrevLayout. Both can be added with some effort darcs-hash:20071101064318-a5988-c07c434c7a1108078d6123a4b36040ed6597772b.gz
2007-10-29cleaner version of main/config inversion.David Roundy1-26/+39
darcs-hash:20071029184823-72aca-5647e07a0bde65cf7e1d49a1613fb9e4210c6aa5.gz
2007-10-18make xmonad work with inverted main/config.David Roundy1-1/+1
darcs-hash:20071018170058-72aca-8018fed9e1c0bc2cf40664b766bb85f678a6a258.gz
2007-10-18sketch of config/main inversion.David Roundy1-0/+264
darcs-hash:20071018164230-72aca-f83f6ea18efda57fc5364e98dadada6c902ee2a5.gz