aboutsummaryrefslogtreecommitdiffstats
path: root/src/XMonad/Operations.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-02move library part to src/Adam Vogt1-0/+0
Ignore-this: 39633e17915844643f12a3dd25288e81 darcs-hash:20140502175159-1499c-fa8e1239e9c2a843e2272e7173374245682a1314.gz
2013-02-05configurableEventMasksmwlochbaum1-7/+4
Ignore-this: 3848de0f8f5ad5995e87a2a01e7752f darcs-hash:20130205182858-2314b-e8e2c7286946762cadb2e58ae043b194d681df9e.gz
2013-01-15Issue 135 use wa_border_width for floating windows (neoraider)Adam Vogt1-1/+1
Ignore-this: c8ed6ceaf9483e31771ac25d86532f6c darcs-hash:20130115170715-1499c-66a20256d8fc43296f5ecf16c7257e8d909f1d5f.gz
2012-01-03Add configuration option clickToFocus (issue 225)Adam Vogt1-3/+6
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/+1
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-2/+21
Ignore-this: a71f3cb0507642e828f4bdfdc7ccd289 darcs-hash:20100222144512-1499c-f733b3d845d3d45da0713653796caae461b09b15.gz
2009-10-11Give focus to windows that don't set the input hintGeoff Reedy1-1/+1
Ignore-this: 4ffb55dd97b59234703e0411c06b4901 darcs-hash:20091010231907-8d81a-2b2cc74d26f5f7dc7e071461a1bb976deb4e1c56.gz
2009-06-22implement the ICCCM WM_TAKE_FOCUS protocolGeoff Reedy1-1/+2
Ignore-this: 5b397417dfcf9014ac515a64484cc314 darcs-hash:20090622051911-8d81a-39e45893d4d6e613324c7548affbc34f6e313012.gz
2011-06-09Remove -fglasgow-exts for deriving Data/Typeable needed with ghc-6.6Adam Vogt1-1/+0
Ignore-this: 8f9e33a86a9919406792383c49ac4555 This gets rid of a warning with ghc-7.0.2, and -XDeriveDataTypeable seems to have been added with 6.8, which should be far back enough: http://www.haskell.org/ghc/docs/6.8-latest/html/users_guide/deriving.html#deriving-typeable darcs-hash:20110608230415-1499c-2929ccda56381f501e548f5a00e7d8f03e80c016.gz
2010-03-27reveal: don't insert non-clients into the set of mapped windowsTomas Janousek1-1/+1
Ignore-this: 68c0a43d761e626cb9544ca386f4846d In xmonad-core, this fixes a small bug that caused doIgnored windows to get into `mapped' and never being removed from there. In the context of xmonad-contrib, this fixes a tremendous memory leak that could be triggered by using MouseResizableTile and UrgencyHook at the same time. MRT would create dummy windows that would get added to `mapped' by the reveal call in `windows'. As these were not removed (removal from `mapped' is filtered by `isClient'), they'd stay there forever and due to an inefficiency in UrgencyHook would eat up all memory sooner or later. darcs-hash:20100327214243-c9ff5-295429351d7a76e3fe82766bed70cb6951f5862e.gz
2010-02-14Various clean-ups suggested by HLintSpencer Janssen1-8/+7
Ignore-this: ccaa6e774f2f8169e6083eddcffe31b6 darcs-hash:20100214025750-25a6b-c15d6ca0ac2f1dc7d3da2f7b311584df7f96dffd.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
2010-01-18Correct warnings with ghc-6.12Adam Vogt1-3/+2
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-16Determine numlockMask automatically, fixes #120Spencer Janssen1-2/+2
Ignore-this: d80c82dd0a23dc7a77fdc32fd2792130 darcs-hash:20091216012140-25a6b-1730d8fef04b735b04475d1772e4825fa44cb318.gz
2009-11-19Swap the order that windows are mapped/unmapped. Addresses #322Spencer Janssen1-3/+3
Ignore-this: 22087204f1b84dae98a3cf2b7f116d3f darcs-hash:20091119025440-25a6b-c9cfb15b2d5bc97c6610592b67d9cd098647c824.gz
2009-11-06Support for extensible state in contrib modules.Daniel Schoepe1-3/+7
Ignore-this: d04ee1989313ed5710c94f9d7fda3f2a darcs-hash:20091106115050-7f603-c88ce5e468856afd9e4d458ed3b0a2cfa39e63b3.gz
2009-01-10More flexible userCode functionDaniel Schoepe1-3/+3
darcs-hash:20090110221852-cb1c6-80f042287c9c6b704a37a2704e29841416aeca9b.gz
2008-12-10Call logHook as the very last action in windowsSpencer Janssen1-4/+4
Ignore-this: 4396ad891b607780f8e4b3b6bbce87e darcs-hash:20081209233700-25a6b-f51049d32e75584ef91b0e4e8859f85f1a0163b8.gz
2008-11-18Tile all windows at onceSpencer Janssen1-9/+11
darcs-hash:20081118074447-25a6b-fc9fe14d2a2ad88884fe2f87548d2f35720e8841.gz
2008-11-18Factor rational rect scaling into a separate functionSpencer Janssen1-5/+8
darcs-hash:20081118072849-25a6b-a0f2fd04fc8be6f50bcec28136be7dc57fa4d07a.gz
2008-10-05add killWindow functionJoachim Breitner1-3/+7
This is required to kill anything that is not focused, without having to focus it first. darcs-hash:20081005001804-23c07-ae429620b924fb5d9ef28f3356f59866326da7d6.gz
2008-10-07Regression: ungrab buttons on *non* root windowsSpencer Janssen1-1/+1
darcs-hash:20081007214351-25a6b-ef1bdcaa0a28956db5e807df659ef8b4cc096f1b.gz
2008-10-07Partial fix for #40Spencer Janssen1-6/+12
Improvements: - clicking on the root will change focus to that screen - moving the mouse from a window on a screen to an empty screen changes focus to that screen The only remaining issue is that moving the mouse between two empty screens does not change focus. In order to solve this, we'd have to select motion events on the root window, which is potentially expensive. darcs-hash:20081007212053-25a6b-ccec914ace595db38dc035a3b56478bdbf1cc6d3.gz
2008-10-07Fix haddockSpencer Janssen1-2/+2
darcs-hash:20081007094641-25a6b-4aebffca5c24d112974558f4782ea865bcf37003.gz
2008-10-07Move screen locating code into pointScreenSpencer Janssen1-3/+8
darcs-hash:20081007094207-25a6b-8575bf757041b0d1bf2afb879fccf3a6a73b7763.gz
2008-10-07Make pointWithin a top-level bindingSpencer Janssen1-5/+8
darcs-hash:20081007090229-25a6b-0c70b5cdfa7809eff60fca8ee911dbfd6970cdea.gz
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