aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix indentationSpencer Janssen2007-03-201-1/+1
| | | | darcs-hash:20070320054647-a5988-daa6e9364ce17787c95044acd4878a8468979f4d.gz
* UntabifySpencer Janssen2007-03-201-25/+25
| | | | darcs-hash:20070320054045-a5988-bc1789adfd92f522cdaa012b7f7950ae96e754f6.gz
* changed type of getScreenInfo in Graphics.X11.XineramaJason Creighton2007-03-201-5/+5
| | | | darcs-hash:20070320044253-b9aa7-d32f71aca7e91b282efaad1689310c5ca72a0e1f.gz
* Decouple the concepts of focus and window order. First step to tiling!Spencer Janssen2007-03-201-1/+1
| | | | darcs-hash:20070320051124-a5988-5127c4860ce23d6eb569f6145cd592fe26689061.gz
* trace wsOnScreen when it's changedJason Creighton2007-03-191-0/+1
| | | | darcs-hash:20070319035629-b9aa7-641cdc7e9d399b5a6bf83b59bbfcd2a58d918cd4.gz
* don't try to change the current workspace based on an enterNotify eventJason Creighton2007-03-191-5/+4
| | | | darcs-hash:20070319035450-b9aa7-d3541941daa816d0599dfa19e18718fa1c99e9b1.gz
* use "windows" in "unmanage"Jason Creighton2007-03-181-1/+1
| | | | darcs-hash:20070318024825-b9aa7-9e5a740f0616ef4da374c6116a26db15003c7e5a.gz
* replaced "let Just xJason Creighton2007-03-181-4/+7
| | | | darcs-hash:20070318005525-b9aa7-9f42706bf37b46fd853388395c9c495346abcc74.gz
* basic xinerama support (depends on Graphics.X11.Xinerama in X11-extras)Jason Creighton2007-03-181-18/+35
| | | | darcs-hash:20070317234904-b9aa7-ef29cf597970298a24d770ec789f83638390d22a.gz
* Whitespace onlySpencer Janssen2007-03-161-1/+1
| | | | darcs-hash:20070316194950-a5988-d81226b13d9a0a9b1a836c8bc79cda65173d3390.gz
* -Wall policeSpencer Janssen2007-03-161-0/+1
| | | | darcs-hash:20070316022201-a5988-71ce8c0c697df2949eb818f45dd67682e1701b7c.gz
* abstract out modMask for easy user configurationshae2007-03-161-8/+13
| | | | darcs-hash:20070315230127-03db8-f82e8e2e5f82ed5fc2e2c809e94247e45ba86a03.gz
* fiddling, commentsDon Stewart2007-03-121-14/+27
| | | | darcs-hash:20070312014029-9c5c1-413bd2cb8b19937ae6baeb2124bfd933a7f15111.gz
* comments, move isRoot into XMonadDon Stewart2007-03-121-4/+0
| | | | darcs-hash:20070312012350-9c5c1-1753dcb9d066d8954fe5d2f2ed8f5d06a6f976aa.gz
* wibblesDon Stewart2007-03-121-13/+12
| | | | darcs-hash:20070312010756-9c5c1-a24636e0c593d17f800bddc442466b727e7f4bde.gz
* abstract out setfocus code a bitDon Stewart2007-03-121-31/+32
| | | | darcs-hash:20070312005540-9c5c1-c2498bd553cbd75564139d2114345086a42c1df7.gz
* general refactor, and call xerrorhandler to ignore certain undetectable issuesDon Stewart2007-03-111-66/+47
| | | | darcs-hash:20070311102653-9c5c1-de74160d207f006000afc640dc9745d1b20ce05b.gz
* initial support for Atom-based delete protocol. makes kill client work on ↵Don Stewart2007-03-111-9/+50
| | | | | | firefox. Quitting though still leads to a bogus notify from firefox, for a closed window darcs-hash:20070311064515-9c5c1-65a89bf24825967555b1253dc72cc0bbb6b24694.gz
* thunk is now known as xmonad!Spencer Janssen2007-03-101-1/+1
| | | | darcs-hash:20070310070320-a5988-3ac3e51c24caa8bbecf9c58604f97c5e9a6f09fc.gz
* XMonadDon Stewart2007-03-101-19/+19
| | | | darcs-hash:20070310070152-9c5c1-f78385326379d5ff19cb3db926c5b02117e433ff.gz
* add tracing for kill windowDon Stewart2007-03-101-1/+5
| | | | darcs-hash:20070310062154-9c5c1-b5e2b5a8038107d0039d4b476caef6c19b04f69e.gz
* Use 9 workspaces by defaultSpencer Janssen2007-03-101-1/+1
| | | | darcs-hash:20070310041114-a5988-5a9e6a1a0a48aae8ae2a3fe542c2cfd96d1474e2.gz
* Reduce flicker on workspace change.Spencer Janssen2007-03-101-1/+1
| | | | darcs-hash:20070310041021-a5988-ec9227d72c9e307fa271d507f07b13bd1dd65362.gz
* Add support for Enter/Leave notify events. Fixes firefox on my machineDon Stewart2007-03-101-20/+40
| | | | darcs-hash:20070310032759-9c5c1-154c47b3a590de826249dd39f208e43f16969023.gz
* refactor, trying to seperate out IO from W stuff, in order to QC the handler ↵Don Stewart2007-03-101-36/+48
| | | | | | at some point darcs-hash:20070310012940-9c5c1-2118696702dac70f922b5ba781a3775598b955cd.gz
* notes on the firefox bugDon Stewart2007-03-091-4/+16
| | | | | | | | | | | basically we have to set focus ourselves. This means when we start managing a window, and when an XCrossingEvent occurs (which we don't handle). On Manage/Enter, we set focus. on Leave we set focus to root. See event.c and focus.c in dwm for more details. darcs-hash:20070309162510-9c5c1-142ded89f618d4234b7ad79265f63e9f5fd9f42f.gz
* whitespace. and note if we get a config request for an already managed windowDon Stewart2007-03-091-16/+22
| | | | darcs-hash:20070309144308-9c5c1-794487e0244c965038b0ed9245080ea5b35d5d04.gz
* improved grabkeys (also handle lockMask down)Don Stewart2007-03-091-3/+8
| | | | darcs-hash:20070309134211-9c5c1-9042f5565486839b596000cdc12252cde2c8c167.gz
* alloc the event space only onceDon Stewart2007-03-091-8/+10
| | | | darcs-hash:20070309134149-9c5c1-34d0f84463d4f1a35e9769398c98025ab7d140fa.gz
* also select for enter and leave window events (need for XCrossing?)Don Stewart2007-03-091-1/+9
| | | | darcs-hash:20070309131251-9c5c1-848d39dc7a257be5a5b62839e5c587d4497dd364.gz
* we should check for OverrideRedirect on initial scan tooDon Stewart2007-03-091-1/+5
| | | | darcs-hash:20070309130608-9c5c1-6c02d37c990e39c02f5679c2bbe3d213649056cb.gz
* little bit of strictness, based on -prof outputDon Stewart2007-03-091-2/+2
| | | | darcs-hash:20070309063449-9c5c1-664dc95c81b702211f3bc61f53aa31f5eb5bd81d.gz
* -12 lines, refactorDon Stewart2007-03-091-10/+7
| | | | darcs-hash:20070309060139-9c5c1-451727d42c18072aaaf9224074b7225165d40713.gz
* refactor, -10 or so locDon Stewart2007-03-091-6/+14
| | | | darcs-hash:20070309055417-9c5c1-6d4119932cae7f8f885b0d1ce674efc25f7488e8.gz
* simplify StackSet api even further (-15 loc)Don Stewart2007-03-091-6/+4
| | | | darcs-hash:20070309041707-9c5c1-3c9ef62c25f49b9025f137f73c8d25438a640ff4.gz
* use new StackSet apiDon Stewart2007-03-091-12/+21
| | | | darcs-hash:20070309035615-9c5c1-db8a060d256336a54c76948c219d43ec39847628.gz
* commentsDon Stewart2007-03-091-20/+9
| | | | darcs-hash:20070309031847-9c5c1-6396e943c279670afa031449c2b5e54f8595472f.gz
* 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