aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clean up names of layout codeDon Stewart2007-10-131-3/+3
| | | | darcs-hash:20071013204300-cba2c-7f8fb3244bbd918cd28679debad2129db542d7e8.gz
* Respect ExitExceptions, fixes a regression where exitWith had no effectSpencer Janssen2007-10-121-0/+1
| | | | darcs-hash:20071012152801-a5988-80a14dda451e1e6e7cdc9e42fdc11568c21004b2.gz
* Add userCode function for the popular m `catchX` return ()Spencer Janssen2007-10-121-5/+3
| | | | darcs-hash:20071012014217-a5988-06b6f1519b5f87fcbc8220ad5bd69181c721635a.gz
* catch exceptions when calling user-written code.David Roundy2007-10-121-0/+2
| | | | | | | This is a minimal approach that only catches error in actual user-written code. darcs-hash:20071012013305-72aca-ab7d36fa77fb3c4fda4abbc7421ba7ba13d9b21a.gz
* fix one last bug w.r.t. issue 55.David Roundy2007-10-121-1/+1
| | | | darcs-hash:20071012010509-72aca-98045b4e5f7b81fcfdd79b7d67f2420060463cd4.gz
* more commentsDon Stewart2007-10-061-2/+2
| | | | darcs-hash:20071006154351-cba2c-64d30ec32fe16978cda3f57c3459e881cf6178ff.gz
* Add event handler for PropertyNotifyEvent that calls logHook if window title ↵Christian Thiemann2007-10-061-0/+4
| | | | | | changed darcs-hash:20071006175458-8602e-3bc9eb53bde0d2269c9026aaad7fc6dca285067f.gz
* avoid name class with forever in 6.8Don Stewart2007-10-061-2/+2
| | | | darcs-hash:20071006103530-cba2c-ec2e63665fe61abdad6ab10862b9f442943a4530.gz
* Comment onlySpencer Janssen2007-10-051-1/+1
| | | | darcs-hash:20071005034445-a5988-c6a3e59dfe5acdeffcea5d237358bef92a77a0a2.gz
* Move grabButtons/Keys into XSpencer Janssen2007-10-051-17/+18
| | | | darcs-hash:20071005034102-a5988-fb2b9080382d62b3486ba53d019b5baf7e7f4b01.gz
* Make WindowSet serialization robust to layout changesSpencer Janssen2007-10-051-3/+10
| | | | darcs-hash:20071005000031-a5988-c8ab82b01a70dc7526fa64c71edc7673dbfab4db.gz
* Operations.windows is responsible for setting initial properties, remove ↵Spencer Janssen2007-10-011-15/+13
| | | | | | redundant code from Main darcs-hash:20071001170628-a5988-060ba1e47986ae7b250bb05273f6d9b35a5ae9b0.gz
* On change of keyboard mapping, grabKeys from the root window.Aaron Denney2007-09-301-2/+4
| | | | darcs-hash:20070929224755-859d9-9427b5ca7c0c924bd8a841a86cb1cd17dfe511f1.gz
* define defaultLayout in Config.hs.David Roundy2007-09-281-2/+0
| | | | darcs-hash:20070928020208-72aca-ba2fa62ecf40abd9137c9632c7ee27525a62f48e.gz
* merge old workspace tags with new on restart.David Roundy2007-09-261-3/+3
| | | | darcs-hash:20070926183309-72aca-82f1dcb215861fd866ad0bc89454b9c14ce10adb.gz
* Make a String description part of each Layout.David Roundy2007-09-241-1/+1
| | | | darcs-hash:20070924185753-72aca-95002aa27cfef74bf8caf1e6f243a4626f20659c.gz
* add layout selection back into core xmonad using LayoutSelection.David Roundy2007-09-211-2/+3
| | | | | | This is just a reimplementation of LayoutChoice. darcs-hash:20070921212159-72aca-870bb8d3e596fcb9edc48f51bec538054b4165e6.gz
* move Layout into StackSet.David Roundy2007-09-211-1/+0
| | | | | | | | 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
* add (unused) Layout to StackSet.David Roundy2007-09-201-1/+1
| | | | darcs-hash:20070920212843-72aca-4c73a99b58ebd9d1d179c5e627cbf4823493f4ab.gz
* eliminate ugly OldLayout.David Roundy2007-09-201-1/+1
| | | | darcs-hash:20070920155237-72aca-af9e13a03fd7fb1e4c5b452c5d42817bd5060b0f.gz
* move Layout stuff into class (hokey first cut).David Roundy2007-09-141-1/+1
| | | | darcs-hash:20070914215959-72aca-3feae03a6560a70908ad37d28f47c8d47321008e.gz
* Fix float behaviour, add shiftWin.Karsten Schoelzel2007-09-101-5/+2
| | | | | | | | | | 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
* -Wall policeDon Stewart2007-08-161-1/+1
| | | | darcs-hash:20070816033132-9c5c1-8c2ff33c2b52da9b5029f327adaf99a1c55a96c0.gz
* change workspaces to [WorkspaceId]David Roundy2007-08-141-2/+2
| | | | darcs-hash:20070814003722-72aca-523faa4ad29f664dd33331c0c03d2564ecde2b89.gz
* CleanupSpencer Janssen2007-08-101-5/+5
| | | | darcs-hash:20070810213940-a5988-7baa041cdf9a07038cb36645f314eb48bb8423aa.gz
* move event loop out of mouseDrag.David Roundy2007-08-071-1/+18
| | | | darcs-hash:20070807201616-72aca-80f5d15118592f79aca8a2e928c4ad4f29fdf8b1.gz
* Note and workaround bugs in Operations.floatSpencer Janssen2007-07-051-2/+6
| | | | darcs-hash:20070705195213-a5988-2dd794ce7f294a43fd21d88ec7974679de60afb7.gz
* refresh after startingSpencer Janssen2007-06-301-1/+1
| | | | darcs-hash:20070630050346-a5988-c77b422116ddc308d1b7b7c252c819c5db36cb96.gz
* UPGRADE X11-Extras! Manage iconified windowsSpencer Janssen2007-06-301-1/+6
| | | | darcs-hash:20070630021026-a5988-808741074e4132930b6036826d758b362c498dfc.gz
* Move screen details into StackSetSpencer Janssen2007-06-291-3/+2
| | | | darcs-hash:20070629213917-a5988-3ad31d8f028efcec41c9c4805c01c2d42c0009b2.gz
* broadcast unidentified events.David Roundy2007-06-231-1/+1
| | | | | | | | This change is independent of the doLayout change I just sent in, but fixes the problem that change introduces in Decoration, by ensuring that all Layouts get redraw events. I think this is the correct behavior. darcs-hash:20070623214125-72aca-deae94c4f656e2396a1e569b0ad956d625ed05f5.gz
* make workspace tag not need to be a Num.David Roundy2007-06-141-1/+1
| | | | | | | | | This change also removes the barely used 'size' field, and replaces it with a tagMember predicate. The idea is to move towards the ability to make the workspace tag be a String, which by default might be "1".."9", but could also be customized to be something meaningful to the user. darcs-hash:20070614140709-72aca-dbc1ce07bf964e4cff69deef95b453a0051ef782.gz
* move initColor to Operations and only store the Pixel value of colorsJason Creighton2007-06-141-3/+2
| | | | | | | | | 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
* make focus, up and down complete functions.David Roundy2007-06-121-2/+2
| | | | | | | 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
* TODO for scanSpencer Janssen2007-06-111-0/+2
| | | | darcs-hash:20070611214217-a5988-ac16c4939111434a06ed5b080a82abd1d6e86c28.gz
* comment onlyJason Creighton2007-06-111-2/+2
| | | | darcs-hash:20070611020249-b9aa7-d00e960a3f26a54acdc7a869ad88ee9d437a470b.gz
* a few modifications to event-sending to make Tabbed layout work.David Roundy2007-06-101-2/+1
| | | | darcs-hash:20070610153836-72aca-75025ca798e1b8c2c5d9f95257aef2bca0803749.gz
* implement Spencer's decoration suggestion.David Roundy2007-06-101-1/+3
| | | | darcs-hash:20070610012237-72aca-4c5873773e58103f57f7a0b232da58c269248fa7.gz
* haddock compatibilityAndrea Rossato2007-06-101-4/+5
| | | | darcs-hash:20070610123746-32816-e5a1b61d81fa52f608d7936f900431bd6620c3c7.gz
* Move state logging into Config.hs, via logHook :: X ()Don Stewart2007-06-101-1/+1
| | | | darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e.gz
* UNDO: Give refresh sole responsibility for establishing window properties ↵Stefan O'Rear2007-06-091-8/+16
| | | | | | (-3 loc) darcs-hash:20070609185835-e3110-1eaa534465f66313044477acd9cae1bbbcf61950.gz
* Give refresh sole responsibility for establishing window properties (-3 loc)Stefan O'Rear2007-06-091-16/+8
| | | | darcs-hash:20070609185835-e3110-4561eca8bf83e9d05d90cdd75bc1ddce5855087f.gz
* HEADS UP: (logging format change). use a custom pretty printer, for an ↵Don Stewart2007-06-091-1/+1
| | | | | | easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1.gz
* Fix unmap handlingSpencer Janssen2007-06-061-10/+12
| | | | | | | | | | | | | | | | | | | 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.gz
* move extraModifiers/cleanMask to Operations.hsJason Creighton2007-06-061-6/+0
| | | | | | so XMonadContrib can use them darcs-hash:20070606005056-b9aa7-96a3bb09f8e6dabd707eed7b5f19d733e5e1778e.gz
* whitespaceDon Stewart2007-06-061-1/+1
| | | | darcs-hash:20070606024857-9c5c1-0928bbc41b568e787e705e85ada9000547f2c790.gz
* Enable logging of state changes to stdoutDon Stewart2007-06-051-1/+2
| | | | darcs-hash:20070605083735-9c5c1-1ab5acbd611914caa7b5cdf1f2df338c0ee616f8.gz
* remove accidental logging of eventsDon Stewart2007-06-051-6/+3
| | | | darcs-hash:20070605081452-9c5c1-a384f89e9ed89678c96aee108a1b1e85cbff9d06.gz
* Fix lost eventNotifyMask bugDon Stewart2007-06-051-5/+22
| | | | | | | | | | | | | | | When resuming, we were (implicitly) relying on 'scan' to find all windows, and reset their event masks and WM_STATE. When we moved to Iconfified hidden workspaces, 'scan' would only find and reset states on the current workspace. The result being that hidden workspace windows no longer received enterNotify events. Fix this by traversing the StackSet serialised during a restart, setting the intial X states for each window, whether visible or hidden. darcs-hash:20070605043040-9c5c1-642f02a61a3e1d4679fde9c38eeb10aec53ea455.gz
* Comment onlySpencer Janssen2007-06-041-1/+0
| | | | darcs-hash:20070604203659-a5988-30920debba664beddd1581efffbdc33143d5ce15.gz