aboutsummaryrefslogtreecommitdiffstats
path: root/Operations.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make layouts preserved over restartDavid Roundy2007-09-211-1/+7
| | | | darcs-hash:20070921204316-72aca-6f8cabc516cc87345bfa73be0e060b206aa2a207.gz
* move Layout into StackSet.David Roundy2007-09-211-23/+23
| | | | | | | | WARNING! This changes the format of StackSet, and will definitely mess up your xmonad state, requiring at minimum a restart! darcs-hash:20070920221248-72aca-1653e21d12abc691a6447c8552369f2d55df41b1.gz
* Pointfree Mirror and SomeLayout instancesSpencer Janssen2007-09-201-2/+2
| | | | darcs-hash:20070920211042-a5988-0fcfdaa8b1ecfffe0f1ec5e5584d53d7e31416d7.gz
* Use derived Show and Read instances for MirrorSpencer Janssen2007-09-201-7/+1
| | | | darcs-hash:20070920205711-a5988-822fbb9bc11937cccbc74252d6be2452cebedcd4.gz
* add Read instance to Layout.David Roundy2007-09-201-5/+10
| | | | darcs-hash:20070920174529-72aca-b1cf11419d5cccbf67edbc3a7bbb356502e9186d.gz
* add Show instance to LayoutDavid Roundy2007-09-201-2/+4
| | | | darcs-hash:20070920161208-72aca-c7bbb3a9d7cd8f1445c89f1bf15d7302bd47896c.gz
* eliminate ugly OldLayout.David Roundy2007-09-201-20/+21
| | | | darcs-hash:20070920155237-72aca-af9e13a03fd7fb1e4c5b452c5d42817bd5060b0f.gz
* move Layout stuff into class (hokey first cut).David Roundy2007-09-141-12/+12
| | | | darcs-hash:20070914215959-72aca-3feae03a6560a70908ad37d28f47c8d47321008e.gz
* Split float upSpencer Janssen2007-09-241-8/+17
| | | | darcs-hash:20070924090606-a5988-b94b64e5deabad4a02cf8510b5113e0bb5617714.gz
* Use the new StackSet.screens in windowsSpencer Janssen2007-09-241-1/+1
| | | | darcs-hash:20070924090523-a5988-cbbea53308246329a662ede2e2ab8f3ef0e555b8.gz
* Eliminate Operations.sink tooSpencer Janssen2007-09-171-4/+0
| | | | darcs-hash:20070917214052-a5988-62b6e8d26a78a7e25a2e0117f7f112c5b039d933.gz
* Remove Operations functions which have StackSet equivalents, just use ↵Spencer Janssen2007-09-171-16/+0
| | | | | | 'windows foo' instead darcs-hash:20070917211953-a5988-8e5141139dfaa7ebc2e2f8f3ae4f923094bd71d7.gz
* Fix float behaviour, add shiftWin.Karsten Schoelzel2007-09-101-10/+8
| | | | | | | | | | First, if float is called with window which is on a hidden workspace, then the window will remain on that hidden workspace. Now the focus should change more as expected: float w darcs-hash:20070910090329-eb3a1-ae150bf783b36fb4811e92d81b4917066c8733b7.gz
* Add delete' for use in shiftKarsten Schoelzel2007-09-101-5/+1
| | | | | | | | | Rename delete to delete' so we can clear floating status in delete, thus removing one special handling. At the moment delete' is only used in shift, but is useful for temporarily removing a window from the stack. darcs-hash:20070910113835-eb3a1-39397766e3c6b9428f69cd8c1bd316cdd20cedcb.gz
* pointfree looks nicer hereDon Stewart2007-09-111-1/+1
| | | | darcs-hash:20070911051928-9c5c1-98dc6a201f22dddb80c28f5c63cbc0cc011d3f33.gz
* Remove redundant revealSpencer Janssen2007-09-101-1/+1
| | | | darcs-hash:20070910213807-a5988-5e66a786114f76a944ef95fb826fdfdd533ce1fd.gz
* Move lower boundary check into applySizeHints, because all users of ↵Karsten Schoelzel2007-09-051-4/+8
| | | | | | | | applySizeHints do this manually. darcs-hash:20070905192125-eb3a1-c008552fc3efe76c881502ebcc6b9832806d6399.gz
* don't refresh when setting focus to already focussed window.David Roundy2007-08-201-1/+1
| | | | darcs-hash:20070820150225-72aca-bd7bc572123ece11ae6b1ebcba4a494d73d2fdfe.gz
* clear out motion events when processing one motion event.David Roundy2007-08-201-6/+9
| | | | | | | | This is important if the hook is slow (e.g. try adding "float w" to the window-dragging hook), as it allows xmonad to keep up with the motion of the mouse. darcs-hash:20070820002351-72aca-f59cce28736104def77ae4c87da1c6832f092c16.gz
* remove unneeded do.David Roundy2007-08-131-3/+2
| | | | darcs-hash:20070813143721-72aca-a8f85ff2342fd4140f6609dd17adbce42b13a226.gz
* make splitHorizontallyBy accept any RealFrac.David Roundy2007-08-131-1/+1
| | | | darcs-hash:20070813143707-72aca-93f6dd8047146f84e4a66a6860bb931b66507e53.gz
* Operations.windows: minor refactorSpencer Janssen2007-08-151-3/+2
| | | | darcs-hash:20070815031521-a5988-e94826af7bfcc133c7fe99718310e817975ef759.gz
* CleanupSpencer Janssen2007-08-101-8/+11
| | | | darcs-hash:20070810213940-a5988-7baa041cdf9a07038cb36645f314eb48bb8423aa.gz
* move event loop out of mouseDrag.David Roundy2007-08-071-20/+24
| | | | darcs-hash:20070807201616-72aca-80f5d15118592f79aca8a2e928c4ad4f29fdf8b1.gz
* only display any given window once.David Roundy2007-07-241-1/+5
| | | | | | | | | | 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.gz
* Add greedyView, make it the default action for mod-werSpencer Janssen2007-08-151-1/+1
| | | | darcs-hash:20070815025504-a5988-00ff316a056c48cc07c5e90925702d2ac09ae666.gz
* restore focus to currently focused window after "float" (closes #32)Jason Creighton2007-07-101-1/+1
| | | | darcs-hash:20070710042631-b9aa7-d7c3a5dfef1c7495f9c96fc16af8374a495a9cb9.gz
* Operations.screenWorkspace: return Nothing when the screen does not existSpencer Janssen2007-07-081-3/+3
| | | | darcs-hash:20070707223842-a5988-7cd70e25326d577a30279c976ae64bce3f70f2df.gz
* Operations.rescreen: screen indexes start at zeroSpencer Janssen2007-07-081-1/+1
| | | | darcs-hash:20070707223334-a5988-00c994f2f09c4c7bd23a0ca800584a3a975f93c6.gz
* Note and workaround bugs in Operations.floatSpencer Janssen2007-07-051-0/+4
| | | | darcs-hash:20070705195213-a5988-2dd794ce7f294a43fd21d88ec7974679de60afb7.gz
* UPGRADE X11-Extras! Manage iconified windowsSpencer Janssen2007-06-301-1/+1
| | | | darcs-hash:20070630021026-a5988-808741074e4132930b6036826d758b362c498dfc.gz
* Move screen details into StackSetSpencer Janssen2007-06-291-25/+23
| | | | darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2.gz
* Change a window's workspace when dragging across screens (closes #30)Jason Creighton2007-06-281-6/+16
| | | | darcs-hash:20070628025023-b9aa7-54e0930487ac4a8f085b6d78ad783ed9b40bc65f.gz
* support self-modifying layouts.David Roundy2007-06-231-5/+9
| | | | darcs-hash:20070623201447-72aca-7bfeb7e7ec36b37420a4c670dc23156c52d7e22d.gz
* minor tweaks, ideas from joachim.fasting@Don Stewart2007-06-211-1/+1
| | | | darcs-hash:20070621033613-9c5c1-51e25d524c5a54aafbab14f55b3b155c558195d2.gz
* only perform mouse events on managed windows. closes #28Don Stewart2007-06-211-2/+2
| | | | darcs-hash:20070621011700-9c5c1-a6ada0f63aaee23bdb3ae0c7cd38dadeae5cd20a.gz
* -Wall policeSpencer Janssen2007-06-201-1/+1
| | | | darcs-hash:20070620150823-a5988-42faa6af4f890a439656156a3fdfa991c3e0f326.gz
* Stack windows in the order they are returned by doLayoutSpencer Janssen2007-06-201-4/+3
| | | | darcs-hash:20070620150419-a5988-6efb2349de03bdbb9575eae07ca85c69cc5c9996.gz
* make Layouts able to layout whatever they like.David Roundy2007-06-191-3/+3
| | | | darcs-hash:20070619150816-72aca-a651e758e93e300c3e526985b328f0b1d7def60c.gz
* float fixed size windowsPeter De Wachter2007-06-181-1/+3
| | | | darcs-hash:20070618214657-06a25-25676598a5d064293620b8e02741964e158b1763.gz
* -Wall police, and turn on -fno-warn-orphansDon Stewart2007-06-171-2/+2
| | | | darcs-hash:20070617052322-9c5c1-9cd715825d376163cbf341993bc0f132e50ef3b6.gz
* Fix float stackingSpencer Janssen2007-06-141-2/+3
| | | | darcs-hash:20070614213412-a5988-6fcf9d8194fe587377e2a20f9b47799a72be5f2e.gz
* Remove 'temporary work around' in 'windows'Spencer Janssen2007-06-141-23/+0
| | | | darcs-hash:20070614211450-a5988-1116cd4386c60525f13afca3527951cc5a1b6c58.gz
* move initColor to Operations and only store the Pixel value of colorsJason Creighton2007-06-141-2/+7
| | | | | | | | | 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.gz
* prevent keyboard focus from getting lost in some casesJason Creighton2007-06-131-5/+5
| | | | darcs-hash:20070613025350-b9aa7-8fc8986ffc4a7c694fa28b49d60d82a81f46e616.gz
* resolve conflict in Operations.David Roundy2007-06-121-1/+2
| | | | darcs-hash:20070612170625-72aca-5d5ae145d30e5e9e971add6e906f6da30d214834.gz
* add catchX to catch exceptions.David Roundy2007-06-121-3/+4
| | | | darcs-hash:20070612154253-72aca-b2c7e24b5e70a09feaebccd443aebbe37b568efa.gz
* make focus, up and down complete functions.David Roundy2007-06-121-7/+4
| | | | | | | This is a rerun of my change to make (Stack a) never be empty. Gives us more type-safety. darcs-hash:20070612150555-72aca-5f6e43aa33979c71679a73b44d93f9e2b8f9d2a8.gz
* fmtDon Stewart2007-06-121-2/+2
| | | | darcs-hash:20070612134938-9c5c1-6129a754a3a5326ac8147b7d5321438fec38c7fd.gz
* -Wall policeStefan O'Rear2007-06-121-1/+1
| | | | darcs-hash:20070612060546-e3110-2fd1f5c7dbcadaa4791b60158d261f2c7a10995b.gz