summaryrefslogtreecommitdiffstats
path: root/Operations.hs
AgeCommit message (Collapse)Author
2007-08-07move event loop out of mouseDrag.David Roundy
darcs-hash:20070807201616-72aca-80f5d15118592f79aca8a2e928c4ad4f29fdf8b1
2007-07-24only display any given window once.David Roundy
This change goes along with the sticky window work. It makes xmonad display each window once and only once, with preference given to the focussed screen. It has no effect when there are no duplicate windows, except to make things less efficient. We could do better using Data.Set (or Data.Map) to store the set of windows that are visible. darcs-hash:20070724141310-72aca-aa02163e9375d7a7966c74c0a82d7b14c2b30e44
2007-08-15Add greedyView, make it the default action for mod-werSpencer Janssen
darcs-hash:20070815025504-a5988-00ff316a056c48cc07c5e90925702d2ac09ae666
2007-07-10restore focus to currently focused window after "float" (closes #32)Jason Creighton
darcs-hash:20070710042631-b9aa7-d7c3a5dfef1c7495f9c96fc16af8374a495a9cb9
2007-07-08Operations.screenWorkspace: return Nothing when the screen does not existSpencer Janssen
darcs-hash:20070707223842-a5988-7cd70e25326d577a30279c976ae64bce3f70f2df
2007-07-08Operations.rescreen: screen indexes start at zeroSpencer Janssen
darcs-hash:20070707223334-a5988-00c994f2f09c4c7bd23a0ca800584a3a975f93c6
2007-07-05Note and workaround bugs in Operations.floatSpencer Janssen
darcs-hash:20070705195213-a5988-2dd794ce7f294a43fd21d88ec7974679de60afb7
2007-06-30UPGRADE X11-Extras! Manage iconified windowsSpencer Janssen
darcs-hash:20070630021026-a5988-808741074e4132930b6036826d758b362c498dfc
2007-06-29Move screen details into StackSetSpencer Janssen
darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2
2007-06-28Change a window's workspace when dragging across screens (closes #30)Jason Creighton
darcs-hash:20070628025023-b9aa7-54e0930487ac4a8f085b6d78ad783ed9b40bc65f
2007-06-23support self-modifying layouts.David Roundy
darcs-hash:20070623201447-72aca-7bfeb7e7ec36b37420a4c670dc23156c52d7e22d
2007-06-21minor tweaks, ideas from joachim.fasting@Don Stewart
darcs-hash:20070621033613-9c5c1-51e25d524c5a54aafbab14f55b3b155c558195d2
2007-06-21only perform mouse events on managed windows. closes #28Don Stewart
darcs-hash:20070621011700-9c5c1-a6ada0f63aaee23bdb3ae0c7cd38dadeae5cd20a
2007-06-20-Wall policeSpencer Janssen
darcs-hash:20070620150823-a5988-42faa6af4f890a439656156a3fdfa991c3e0f326
2007-06-20Stack windows in the order they are returned by doLayoutSpencer Janssen
darcs-hash:20070620150419-a5988-6efb2349de03bdbb9575eae07ca85c69cc5c9996
2007-06-19make Layouts able to layout whatever they like.David Roundy
darcs-hash:20070619150816-72aca-a651e758e93e300c3e526985b328f0b1d7def60c
2007-06-18float fixed size windowsPeter De Wachter
darcs-hash:20070618214657-06a25-25676598a5d064293620b8e02741964e158b1763
2007-06-17-Wall police, and turn on -fno-warn-orphansDon Stewart
darcs-hash:20070617052322-9c5c1-9cd715825d376163cbf341993bc0f132e50ef3b6
2007-06-14Fix float stackingSpencer Janssen
darcs-hash:20070614213412-a5988-6fcf9d8194fe587377e2a20f9b47799a72be5f2e
2007-06-14Remove 'temporary work around' in 'windows'Spencer Janssen
darcs-hash:20070614211450-a5988-1116cd4386c60525f13afca3527951cc5a1b6c58
2007-06-14move initColor to Operations and only store the Pixel value of colorsJason Creighton
Moving initColor to Operations allows it to be used by extensions. The Pixel component of the color is the only thing we need, so it's simpler just to deal with that. darcs-hash:20070613234501-b9aa7-5b39416db9f9d5ac42692262c233179baeb2540f
2007-06-13prevent keyboard focus from getting lost in some casesJason Creighton
darcs-hash:20070613025350-b9aa7-8fc8986ffc4a7c694fa28b49d60d82a81f46e616
2007-06-12resolve conflict in Operations.David Roundy
darcs-hash:20070612170625-72aca-5d5ae145d30e5e9e971add6e906f6da30d214834
2007-06-12add catchX to catch exceptions.David Roundy
darcs-hash:20070612154253-72aca-b2c7e24b5e70a09feaebccd443aebbe37b568efa
2007-06-12make focus, up and down complete functions.David Roundy
This is a rerun of my change to make (Stack a) never be empty. Gives us more type-safety. darcs-hash:20070612150555-72aca-5f6e43aa33979c71679a73b44d93f9e2b8f9d2a8
2007-06-12fmtDon Stewart
darcs-hash:20070612134938-9c5c1-6129a754a3a5326ac8147b7d5321438fec38c7fd
2007-06-12-Wall policeStefan O'Rear
darcs-hash:20070612060546-e3110-2fd1f5c7dbcadaa4791b60158d261f2c7a10995b
2007-06-12Use a more descriptive name for the layout reversal messageStefan O'Rear
darcs-hash:20070612055859-e3110-f6bc973ba180f1ec9ded1a03cde0fc0eb16b7bd7
2007-06-12Use broadcastMessage in windows and switchLayout, should improve Xinerama ↵Stefan O'Rear
for tabbed and make xmonad robust in the presence of state-altering unlayout hooks darcs-hash:20070612055510-e3110-61286de682e2910521f534df040b1f3de9a64797
2007-06-12Add a broadcastMessage function, which sends to all visible workspaces ↵Stefan O'Rear
without refreshing. (+6 loc) darcs-hash:20070612055339-e3110-05285df631a523afce0a2c6dca993df9dfbad470
2007-06-11Set withdrawn state after calling windowsSpencer Janssen
darcs-hash:20070611213327-a5988-11712c7c29061feaa296249679a7cbe7dfe402c0
2007-06-11Remove obsolete 'layout' functionSpencer Janssen
darcs-hash:20070611203622-a5988-137014b9de3456eb1d3f7f722518fe6afcbca322
2007-06-11-Wall policeSpencer Janssen
darcs-hash:20070611202007-a5988-e7bc7a60a571e2f12e38aa548739fc8b898fdc4a
2007-06-11Comment onlySpencer Janssen
darcs-hash:20070611195827-a5988-a923fd26d5e2d440118981fe5164fee5b37234f2
2007-06-11Hide windows that are not supposed to be visibleSpencer Janssen
darcs-hash:20070611191809-a5988-f8a49e4c6c6ec628a85c2204302a43d63547b042
2007-06-11-Wall policeSpencer Janssen
darcs-hash:20070611185708-a5988-949d28a3b86ae564149777356af16fc68ed7b5f9
2007-06-11API CHANGE: Give doLayout a Stack rather than a flattened listSpencer Janssen
darcs-hash:20070611182629-a5988-384e2f82340497c833a68d909ea485017803fe9b
2007-06-11Ensure windows get at least 1 pixel for width/heightSpencer Janssen
darcs-hash:20070611061930-a5988-a427df20194b8b0aa53507676dc5d882b20de0b6
2007-06-11Restrict the master/slave ratio to [0, 1]Spencer Janssen
darcs-hash:20070611053230-a5988-67ce7423bb53d7c7ac27677e3fb86da46e7444b8
2007-06-10a few modifications to event-sending to make Tabbed layout work.David Roundy
darcs-hash:20070610153836-72aca-75025ca798e1b8c2c5d9f95257aef2bca0803749
2007-06-10send message when "windows" is called.David Roundy
darcs-hash:20070610013531-72aca-9f6807aed050b85a00bd11a69d05843c1cbedbaa
2007-06-10implement Spencer's decoration suggestion.David Roundy
darcs-hash:20070610012237-72aca-4c5873773e58103f57f7a0b232da58c269248fa7
2007-06-10haddock compatibilityAndrea Rossato
darcs-hash:20070610123746-32816-e5a1b61d81fa52f608d7936f900431bd6620c3c7
2007-06-10Move state logging into Config.hs, via logHook :: X ()Don Stewart
darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e
2007-06-09cut incorrect comment.David Roundy
darcs-hash:20070609173447-72aca-be4e1901fafb8d84f3cab02e976ccc2fa1086ca4
2007-06-09doLayout cleanup and commented exception-handling.David Roundy
darcs-hash:20070609145036-72aca-161f75345ce8925c8db5df7ac283481de952edf4
2007-06-09UNDO: Give refresh sole responsibility for establishing window properties ↵Stefan O'Rear
(-3 loc) darcs-hash:20070609185835-e3110-1eaa534465f66313044477acd9cae1bbbcf61950
2007-06-09Give refresh sole responsibility for establishing window properties (-3 loc)Stefan O'Rear
darcs-hash:20070609185835-e3110-4561eca8bf83e9d05d90cdd75bc1ddce5855087f
2007-06-09HEADS UP: (logging format change). use a custom pretty printer, for an ↵Don Stewart
easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1
2007-06-06Fix unmap handlingSpencer Janssen
According to the ICCCM, clients should send a synthetic unmap event when they initiate an unmap. The old code waited for these synthetic unmaps to unmanage windows. However, certain 'obsolete' clients do not send synthetic unmaps (notably xpdf's find dialog). These windows entered a zombified state: xmonad does not manage them, yet they are still mapped and raised on screen. The new algorithm (derived from wmii): - track windows that are mapped on screen - track the number of expected unmap events for each window, increment every time 'hide' is called on a window that is not mapped. - decrement the expected unmap counter on each unmap event - treat an unmap event as genuine (ie. unmap the window) when: - the event is synthetic (per ICCCM) - OR there are no expected unmap events for this window darcs-hash:20070606214006-a5988-7c2eced85319ff506a9b7c9dc86d5946ca0da8e5