aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* handle MappingNotifyEvent properly, and missing test in MapRequestEvent. ↵Don Stewart2007-03-091-8/+7
| | | | | | firefox still won't take the keyboard though darcs-hash:20070309030644-9c5c1-1730b17391d547fc94d76bb0bab601578074659c.gz
* stub for MappingNotifyEvent, based on dwm. But the X11-extras binding for ↵Don Stewart2007-03-081-6/+37
| | | | | | this event needs doing (sjanssen?) darcs-hash:20070308130517-9c5c1-83193a446a74e9a50467a4f52aeb71632e4d8a64.gz
* refactoring. heads up: depends on withServer in X11-extrasDon Stewart2007-03-081-30/+12
| | | | darcs-hash:20070308122613-9c5c1-9d1492a54b2186edcc3c6c5f178254a00a969a6c.gz
* move W -> WMonadDon Stewart2007-03-081-1/+1
| | | | darcs-hash:20070308120536-9c5c1-cd1cf451dd9a5a75f5372bdd310bb5a485bf2fec.gz
* Switch to using abstract StackSet data type. Most workspace logic moved into ↵Don Stewart2007-03-081-96/+68
| | | | | | StackSet.hs darcs-hash:20070308114308-9c5c1-92f9ac368fa47b8c6f069aef1b6c419ee654bd7b.gz
* cleanup onlyDon Stewart2007-03-081-4/+4
| | | | darcs-hash:20070308021901-9c5c1-35cd948050a53029805dfa1d699f7bb8c7df40de.gz
* Make the number of workspaces configurable.Spencer Janssen2007-03-081-15/+13
| | | | darcs-hash:20070308043614-a5988-47cf3ddfda29dbe436509247e12b7fdf0e64c7ac.gz
* Print a message for unhandled eventsSpencer Janssen2007-03-081-1/+1
| | | | darcs-hash:20070308013249-a5988-15210f7f0dfdc4ef75c2df119f140971b4c75c36.gz
* Manage windows that are created before thunk startsSpencer Janssen2007-03-071-0/+4
| | | | darcs-hash:20070307210117-a5988-f7aa8bb703df0ceedf7b3a8f1af78e26c43554c0.gz
* Add Alt-Shift-[1..5], to move the current client to a new workspaceDon Stewart2007-03-081-0/+22
| | | | darcs-hash:20070308010424-9c5c1-d7708952644de1729b86f2be691e86cfaa8fec44.gz
* cleaner implementation of 'view'. Only hide the current list. And shortcut ↵Don Stewart2007-03-081-15/+17
| | | | | | if we try to move to the same screen. No flicker darcs-hash:20070308002134-9c5c1-72c6530acc071d641c55bf699c5e7aca32194e3b.gz
* Fill in missing workspace codeDon Stewart2007-03-081-18/+19
| | | | | | | | | | How do we manage workspaces? thunk keeps a list of window lists, corresponding each window stack on each workspace. When you switch views to a different workspace it moves all windows off the screen (2*w) (2*h), and then moves back those in the current list. There's some screen flicker, we could probably be smarter about this. darcs-hash:20070308000729-9c5c1-5e8f7e6d750d1700cbf1e14f7eea7faee70a66e0.gz
* Add support for multiple workspacesDon Stewart2007-03-071-20/+58
| | | | | | | | | | | | | Everything is in place for multiple workspaces, bar one thing: the view function. It updates thunk's idea of the current visible windows, but I don't know how to tell X to hide the current set, and instead treat the new window list as the only ones visible. See notes for 'view' at bottom of Main.hs. If we can, say, switch to a new workspace, which is empty, 'refresh' should spot this only display the root window. darcs-hash:20070307111247-9c5c1-eb211e587bc65d7fbc9dfec1ea38364691ef2a67.gz
* -Wall police. and strip the binaryDon Stewart2007-03-071-10/+12
| | | | darcs-hash:20070307074910-9c5c1-c82071afe812d1e1e6f4577c07c1d7b0b141c6c9.gz
* fmt. and use a Map for keycode lookupDon Stewart2007-03-071-37/+28
| | | | darcs-hash:20070307074248-9c5c1-e7bd70d5c7822120cdfded97be4da59ca18d5218.gz
* xKillClient -> killClientSpencer Janssen2007-03-071-1/+1
| | | | darcs-hash:20070307073010-a5988-02f54c9e8736d095bb06aa26dac8895b26c37659.gz
* formatting and comments onlyDon Stewart2007-03-071-9/+8
| | | | darcs-hash:20070307071926-9c5c1-821a08069706ca91115887ff9d841dca834226a2.gz
* Add alt-c, kill clientDon Stewart2007-03-071-11/+28
| | | | darcs-hash:20070307071910-9c5c1-08ff3d3b55c56a7438a17ca9cdc4b0362d70e77c.gz
* need Data.ListDon Stewart2007-03-071-0/+1
| | | | darcs-hash:20070307064827-9c5c1-96e5aecc9e9a74ded6688439dbfca32ff82e66ca.gz
* focus left and right (mod-j/mod-k)Don Stewart2007-03-071-38/+27
| | | | darcs-hash:20070307064539-9c5c1-2578ea84009c449b3baeba8a58bfda5b39096fba.gz
* wibbleDon Stewart2007-03-071-1/+1
| | | | darcs-hash:20070307062201-9c5c1-3bdb070d864bed9e4ddac8d4cd6884370760a45f.gz
* derive MonadState, removes most accessorsDon Stewart2007-03-071-10/+10
| | | | darcs-hash:20070307061532-9c5c1-9a125c44f0e63442f53f2d7cd9609a419cbb2c1d.gz
* Handle several more events, should fix several issues.Spencer Janssen2007-03-071-2/+31
| | | | darcs-hash:20070307060447-a5988-0a7399c8342b64f6789fba1f4533a36c3031d896.gz
* refactoring. less codeDon Stewart2007-03-071-91/+76
| | | | darcs-hash:20070307055007-9c5c1-2dc9d077773b25f22954c41856e670f3b5583e9f.gz
* just use [Window]Don Stewart2007-03-071-16/+13
| | | | darcs-hash:20070307050139-9c5c1-a67691477173216dfcfbaf9bf7fea814160586e2.gz
* typo in dmenu codeDon Stewart2007-03-071-1/+1
| | | | darcs-hash:20070307041921-9c5c1-7529b7dcc28776699a60177768c6b9f4bc316666.gz
* add dmenu support, seems to work, but the resulting client isn't launchedDon Stewart2007-03-071-1/+2
| | | | darcs-hash:20070307034738-9c5c1-180f977abb51ca29a4151c9103a0a29b59aac6fa.gz
* refactoringDon Stewart2007-03-071-12/+16
| | | | darcs-hash:20070307033855-9c5c1-999ba9e7d3cd15a6363e8da777879ed72d0020c6.gz
* Wm -> W, all good monads have single capital letter names. comment the W.hs fileDon Stewart2007-03-071-11/+11
| | | | darcs-hash:20070307033307-9c5c1-2e7136f75725d311a8d19838b46e7fa89c3e4dc9.gz
* comments for Main.hs, add io_, like io but return ()Don Stewart2007-03-071-37/+73
| | | | darcs-hash:20070307032139-9c5c1-b063c7a18960d67fabf03d42b6b9d01a855c9cf5.gz
* comments, rename 'l' to 'io', and state explicitly that we use ↵Don Stewart2007-03-071-16/+29
| | | | | | GeneralizedNewtypeDeriving darcs-hash:20070307030351-9c5c1-1bdd8f6be37c4e1fa30aaed0af13ee00790cb8b4.gz
* move thunk.hs -> Main.hs. Be precise about which versions of every package ↵Don Stewart2007-03-071-0/+109
are known to work darcs-hash:20070307025535-9c5c1-2468ea0782a68c4621921147f9e2101a30d9d4b2.gz