aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Operations.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-06-01Haddock linksMalebria1-7/+7
darcs-hash:20080601212515-1ef02-00edd6567c840d7fec8ee7ed085b3cd2655ad6e3.gz
2008-05-02Remember if focus changes were caused by mouse actions or by key commandsKlaus Weidner1-2/+5
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-05-06WibbleSpencer Janssen1-1/+1
darcs-hash:20080506203840-a5988-9f9543b4e741c9352282b04572e37c3588a81f7b.gz
2008-04-08Set focus *after* revealing windowsSpencer Janssen1-1/+1
darcs-hash:20080407222559-a5988-3810dfe1f0a43bb97b39e57e3303bbf90b0d404e.gz
2008-04-08Reveal windows after moving/resizing them.Spencer Janssen1-1/+2
This should reduce the number of repaints for newly visible windows. darcs-hash:20080407220756-a5988-d59b1d765322cfcac42200538909818d4ef3a4b8.gz
2008-04-30Hide newly created but non-visible windows (fixes bug #172)Spencer Janssen1-1/+2
darcs-hash:20080430014012-a5988-a203e733895ee2aa3839a266df0f8b19aa3c0763.gz
2008-04-05floats always use current screen (with less bugs)robreim1-2/+2
darcs-hash:20080405135009-d4c7e-51a1a928fa2f4adbc58b394ac00c8dd7c7112488.gz
2008-04-04XMonad.Operations: applySizeHint reshuffleLukas Mai1-5/+21
Make applySizeHints take window borders into account. Move old functionality to applySizeHintsContents. Add new mkAdjust function that generates a custom autohinter for a window. darcs-hash:20080404215615-462cf-e6c1373d13ec4c6b0d675778125c75d76fbc896f.gz
2008-03-25Remove gapsSpencer Janssen1-16/+2
darcs-hash:20080325091526-a5988-e6ed58b0d493845525a4c7e5977352cfb12b9c92.gz
2008-03-22clean up for styleDon Stewart1-10/+11
darcs-hash:20080322214116-cba2c-53cbd5c7049e9dcbdc21c16fa2a4526c9c7447a4.gz
2008-02-23add sendMessageWithNoRefresh and have broadcastMessage use itAndrea Rossato1-12/+35
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-21Revert float location patch. Not Xinerama safeDon Stewart1-8/+8
darcs-hash:20080321214129-cba2c-5eeb181514381837404a0cddcc74c78b8b044b67.gz
2008-02-22runLayout is now a LayoutClass method and takes the Workspace and the screen ↵Andrea Rossato1-5/+5
Rectangle darcs-hash:20080222175815-32816-e3893760e1024bcbf30a4fbb71ca7c2b4d8bb403.gz
2008-03-08Small linecount fix :)robreim1-2/+1
darcs-hash:20080308021939-d4c7e-a00752d8ed47b18ba1eb168e920d271885ecb86f.gz
2008-03-08Change floats to always use the current screenrobreim1-5/+6
darcs-hash:20080308015829-d4c7e-f805bfa622e5fc0dfe054bd12c827ca666351794.gz
2008-02-06Lift initColor exceptions into MaybeDon Stewart1-3/+5
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-02-04Rename runManageHook to runQuerySpencer Janssen1-1/+2
darcs-hash:20080204053336-a5988-0c8760f33f319acd30cd18630ada2b77a0875a5b.gz
2008-01-18Simplify duplicate/cloned screen logicSpencer Janssen1-20/+21
darcs-hash:20080118032228-a5988-04035889f9b0a1230b09a9334ea6341783e16052.gz
2007-12-31Put the screen removing stuff in getCleanedScreenInfoJoachim Breitner1-5/+13
darcs-hash:20071231181556-23c07-0ff6a10eb151e7ea06e57f2c6317fe21f87309c8.gz
2007-12-31Ignore cloned screensJoachim Breitner1-2/+13
This patch ignores screens that are just clones of existing ones, or are completely contained in another. Currently only for rescreen, not yet for xmonad start. darcs-hash:20071231180628-23c07-9c55cedfc5e1e22d1bddaae13c296900558e8849.gz
2007-12-19Call 'broadcastMessage ReleaseResources' in restartSpencer Janssen1-17/+0
darcs-hash:20071219065710-a5988-a03100cb8be702bdb1e972911e14117ed517975a.gz
2007-12-12Set withdrawnState after calling hideSpencer Janssen1-1/+5
darcs-hash:20071212060250-a5988-f390a9b9b9fab7ce59b05180e575092b8384e181.gz
2007-12-11Remove stale commentSpencer Janssen1-1/+0
darcs-hash:20071211084236-a5988-c7014d9b4026d2a33d21be790ef8504f3df61773.gz
2007-12-11Make windows responsible for setting withdrawn stateSpencer Janssen1-3/+4
darcs-hash:20071211080117-a5988-c992f6c8147b3a91603afe3ba604c235b5a3c211.gz
2007-12-11Remove stale commentSpencer Janssen1-2/+0
darcs-hash:20071211075641-a5988-8aa586e3d208ed7d1064be62e7122c26da92b730.gz
2007-12-11Clean up stale mapped/waitingUnmap state in handle rather than unmanage.Spencer Janssen1-1/+0
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-10normalize Module headersLukas Mai1-1/+1
darcs-hash:20071210085327-462cf-bc856d2e75b32906274cf0c3b9aad9e406385766.gz
2007-11-24Move XMonad.Layouts to XMonad.Layout for uniformity with xmcAndrea Rossato1-1/+1
darcs-hash:20071124143000-32816-91c1de68f8770647c9315c633920fe7b92fab882.gz
2007-11-20clean up fmap overuse with applicatives. more opportunities remainDon Stewart1-8/+9
darcs-hash:20071120181743-cba2c-15c56f06646e990bea3b41e31e98ef6db1975dff.gz
2007-11-19ManageHook is a MonoidSpencer Janssen1-1/+1
darcs-hash:20071119060820-a5988-f70bb442a74c5ca8f6670184fb7eea6ca40ec793.gz
2007-11-19No more liftMSpencer Janssen1-3/+3
darcs-hash:20071119033120-a5988-a45cb35f2b919d5e57980fb9eea9c6d4361bc61b.gz
2007-11-09New ManageHook systemSpencer Janssen1-3/+1
darcs-hash:20071109024722-a5988-c499d006a8a4a48dd7c8cbaf4e4ea9635ceb1ec4.gz
2007-11-07Provide top level XMonad.hs export moduleDon Stewart1-1/+1
darcs-hash:20071107030617-cba2c-8c900566b5e1784737fefe3273486f8a1238da55.gz
2007-11-01HierarchifySpencer Janssen1-3/+3
darcs-hash:20071101180846-a5988-25ba1c9ce37a35c1533e4075cc9494c6f7dd5ade.gz
2007-11-01Add readsLayout, remove the existential from XConfigSpencer Janssen1-2/+2
darcs-hash:20071101082155-a5988-82be25ec6b35cb1d39e0613b3d810dfd75836098.gz
2007-11-01Delete Main.hs-boot!Spencer Janssen1-6/+8
darcs-hash:20071101080045-a5988-d3b50a7fe35ff4e38c90e9eb8da1f1963b3b27fd.gz
2007-11-01Remove manageHook from Main.hs-bootSpencer Janssen1-2/+3
darcs-hash:20071101075308-a5988-26cbe1f6f89a90f2e81b34f76c7e56030e5c2c11.gz
2007-11-01-Wall policeSpencer Janssen1-2/+1
darcs-hash:20071101074411-a5988-0ef8ebeab402f69acf7461e33bb705a7ef2ce4ce.gz
2007-11-01Store user configuration in XConfSpencer Janssen1-3/+3
darcs-hash:20071101072308-a5988-e5a5231e3adcff8f03ebdab37721b19c0e19fc00.gz
2007-11-01This is a massive update, here's what has changed:Spencer Janssen1-158/+2
* 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-4/+5
darcs-hash:20071029184823-72aca-5647e07a0bde65cf7e1d49a1613fb9e4210c6aa5.gz
2007-10-25make setLayout a bit more inclusive.David Roundy1-2/+2
darcs-hash:20071024231250-72aca-b407b2f80824b9506c1b81dd3da73c14092fb815.gz
2007-10-18make xmonad work with inverted main/config.David Roundy1-1/+2
darcs-hash:20071018170058-72aca-8018fed9e1c0bc2cf40664b766bb85f678a6a258.gz
2007-10-28New windows start in the iconic stateSpencer Janssen1-5/+6
darcs-hash:20071028063949-a5988-ae889f0e1807260e8b883db5d8b63388c08b4850.gz
2007-10-22Replace 'findIndex' with 'findTag', which more accurately describes what the ↵Brent Yorgey1-1/+1
function does. I realize this is a big change, but the name 'findIndex' was confusing for me, since I expected it to return some sort of integer. What it actually does, of course, is return a workspace tag, which might be more general than an index. Of course, this change breaks several contrib modules; I'll submit a patch to make the change there as well. darcs-hash:20071022204105-bd4d7-9f5d5b8ce00c61b4830fde329f528b2d79af2fa6.gz
2007-10-19Operations.hs: flip maybe id is fromMaybeEric Mertens1-1/+1
darcs-hash:20071018231418-b49f3-87484165c6fc9cf2aa6b961e5d923c2bb12a608a.gz
2007-10-19Deobfuscate Tall layoutEric Mertens1-3/+3
darcs-hash:20071018231329-b49f3-d7bf3ee5c5901af0e37b61d41cafb4399ab827ca.gz
2007-10-19UNDO: setInitialProperties after placing windowsSpencer Janssen1-2/+1
darcs-hash:20071019201310-a5988-397c2af846115b806bd412c88a972f05761184f8.gz
2007-10-19setInitialProperties after placing windowsSpencer Janssen1-1/+2
darcs-hash:20071019201310-a5988-fffe26f15c9395316acfd9b27dbd6a6c5e9a530f.gz
2007-10-19UNDO: Ignore borders in the stored RationalRects of floating windows.Spencer Janssen1-18/+8
Also, add 'floatWindow' which computes the actual Rectangle for that window, including border. darcs-hash:20071019063922-a5988-b84e68dff7ca4680220733e20158972f0f3fc46d.gz