aboutsummaryrefslogtreecommitdiffstats
path: root/src/XMonad/Main.hsc (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-20depend on the setlocale packageAdam Vogt1-411/+0
Ignore-this: 44289527d6f4e26d7b8c30341523fb91 darcs-hash:20141020141006-1499c-a5f0d4f4372b090a90569eab140c949e73c1062f.gz
2014-05-02hack to avoid crash when fewer workspaces than screens (#543)Adam Vogt1-1/+2
Ignore-this: 1bb0392eaed1e5b5437afff658960e95 darcs-hash:20140502175910-1499c-94908a88f9d05ed9fcd0e82efd678b2ed63d4667.gz
2014-05-02move library part to src/Adam Vogt1-0/+0
Ignore-this: 39633e17915844643f12a3dd25288e81 darcs-hash:20140502175159-1499c-fa8e1239e9c2a843e2272e7173374245682a1314.gz
2013-05-28depend on data-default, and deprecate the monomorphic name defaultConfigDaniel Wagner1-2/+2
Ignore-this: 1e746731695df3b6f684d5463a3da6a4 darcs-hash:20130528003531-76d51-cb0d530829e7ad54445399456421f3fa7fe231df.gz
2013-02-05configurableEventMasksmwlochbaum1-3/+2
Ignore-this: 3848de0f8f5ad5995e87a2a01e7752f darcs-hash:20130205182858-2314b-e8e2c7286946762cadb2e58ae043b194d681df9e.gz
2013-01-18Grab all keycodes linked to each keysym, not just oneDaniel Wagner1-5/+10
Ignore-this: 1a6c001560f68f99d75d5f550e7e83 This patch is based heavily on the one contributed by svein.ove@aas.no, but updated to avoid causing a conflict and to work with the newest X11 bindings. The name of the patch (and comment below) are copied verbatim from his patch. XKeysymToKeycode only gives the first code bound to a given symbol. To handle the case where multiple keys are bound to the same symbol, XKeycodeToKeysym is used instead, searching through all possible keycodes for each sym. darcs-hash:20130118225446-76d51-ae01f4eb151409ff1b9c57e93d26f1d75cc8aac6.gz
2012-01-03Add configuration option clickToFocus (issue 225)Adam Vogt1-2/+5
Ignore-this: 78961f6256e1a1ee25c085e9056af758 To summarize this allows clicks which change the focus to also be passed on to that window. darcs-hash:20120103013916-1499c-1c29f13f0565f4812cf5787caefb6142882f25b5.gz
2011-05-25pass mouse clicks on to focused windows (experimental)conrad.irwin1-1/+2
Ignore-this: 6b75b18b41e855a3f64a423b929a7282 Originally: http://www.haskell.org/pipermail/xmonad/2008-June/005807.html darcs-hash:20110525043413-8d3c4-53c2eae69ff246b869f4c5a617d9c0bba885f49f.gz
2010-02-22Resolve conflicts Geoff Reedy's window focus hack.Adam Vogt1-6/+2
Ignore-this: a71f3cb0507642e828f4bdfdc7ccd289 darcs-hash:20100222144512-1499c-f733b3d845d3d45da0713653796caae461b09b15.gz
2009-06-22track currently processing eventGeoff Reedy1-1/+6
Ignore-this: da2e82037548ab176a4333056c94a07a darcs-hash:20090622035649-8d81a-de848ab7c732ae633b5c21333370d5aca43bf939.gz
2009-01-14Replaced custom forever_ by library functionDaniel Schoepe1-3/+1
darcs-hash:20090114215556-cb1c6-babaac0e9aeceba8006995aa1ae15d63cb35c724.gz
2009-12-20Add --replace flag with documentation (issue 99).Adam Vogt1-1/+38
Ignore-this: c56000295b75c66309913e29e1671d88 darcs-hash:20091220183529-1499c-3c77980c6e443252334c118e2284fa7ed4933bff.gz
2010-01-13Broadcast PropertyChange events (needed for layouts with decoration)Daniel Schoepe1-2/+3
Ignore-this: c8315f438fed66b12282c9bfe70a4d0b darcs-hash:20100113204017-7f603-729f7e7ef83461c0bdd2e45cdd4a07724af7f8a2.gz
2010-01-18Rename numlockMask to numberlockMask to help users of the template config.Adam Vogt1-2/+2
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
2009-12-16Determine numlockMask automatically, fixes #120Spencer Janssen1-1/+17
Ignore-this: d80c82dd0a23dc7a77fdc32fd2792130 darcs-hash:20091216012140-25a6b-1730d8fef04b735b04475d1772e4825fa44cb318.gz
2009-12-16Update for X11 1.5.0.0Spencer Janssen1-1/+1
Ignore-this: 669c764c4c0ca516c8bdc1dfa35cd66 darcs-hash:20091216011700-25a6b-bfb30dfcc001e9b872402cd5adcb72af6fb65464.gz
2009-11-06Support for extensible state in contrib modules.Daniel Schoepe1-6/+12
Ignore-this: d04ee1989313ed5710c94f9d7fda3f2a darcs-hash:20091106115050-7f603-c88ce5e468856afd9e4d458ed3b0a2cfa39e63b3.gz
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