aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* typoDon Stewart2007-03-101-2/+2
| | | | darcs-hash:20070310034012-9c5c1-5e18215b52cd8dcf225258b55783cebe99c0bf12.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-102-38/+50
| | | | | | 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
* grammar nazisDon Stewart2007-03-091-1/+1
| | | | darcs-hash:20070309145649-9c5c1-544ba7456c89061c87d4b60002358dd4fe126519.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
* no unix dependencyDon Stewart2007-03-091-1/+0
| | | | darcs-hash:20070309091951-9c5c1-c577da2d7eed50197af82e825667e0a102874cb1.gz
* fmt onlyDon Stewart2007-03-091-2/+1
| | | | darcs-hash:20070309091455-9c5c1-259ac2f75d75804e009b78639be8fdb2f0d377d1.gz
* unnec. export listDon Stewart2007-03-091-24/+1
| | | | darcs-hash:20070309091328-9c5c1-38188ec996d52e28a3c0a0926ea07944dc21b016.gz
* unnec. `nub'Don Stewart2007-03-091-2/+2
| | | | darcs-hash:20070309091045-9c5c1-4806d3d42d32c61490dc47ed6bc6af44c135b380.gz
* just use Map, not int map. strict updates don't seem to help btw.Don Stewart2007-03-091-13/+12
| | | | darcs-hash:20070309083706-9c5c1-44ca977b482a5da147e2375306985310f2fb8633.gz
* comments on whether we lose space due to lazy updates of the stack setDon Stewart2007-03-091-0/+5
| | | | darcs-hash:20070309081621-9c5c1-d79ec8b6281b71238a32aff076d99c2926f48c8c.gz
* don't need the unix packageDon Stewart2007-03-091-1/+1
| | | | darcs-hash:20070309075148-9c5c1-c4483e7dc16d5fddeba48a848f4853f235c5d94d.gz
* sneaky inlineDon Stewart2007-03-091-0/+1
| | | | darcs-hash:20070309063818-9c5c1-0da46cb02c5b9ad2c7272a23d9aec2b7ee1a3046.gz
* little bit of strictness, based on -prof outputDon Stewart2007-03-093-4/+5
| | | | darcs-hash:20070309063449-9c5c1-664dc95c81b702211f3bc61f53aa31f5eb5bd81d.gz
* explicit interface on StackSet. maybe it should be a seperate package ... ?Don Stewart2007-03-091-1/+24
| | | | darcs-hash:20070309061255-9c5c1-77a4933e2d0a3af442eaf820bbff2469347f0a4c.gz
* -12 lines, refactorDon Stewart2007-03-092-22/+10
| | | | darcs-hash:20070309060139-9c5c1-451727d42c18072aaaf9224074b7225165d40713.gz
* refactor, -10 or so locDon Stewart2007-03-092-35/+31
| | | | darcs-hash:20070309055417-9c5c1-6d4119932cae7f8f885b0d1ce674efc25f7488e8.gz
* more QC properties on StackSetsDon Stewart2007-03-091-7/+42
| | | | darcs-hash:20070309054042-9c5c1-2ae77f352ab1e5c822e8144c4685c24d4d12059d.gz
* simpler type (no need to cache size, we *could* grow new stacks on demand now)Don Stewart2007-03-092-57/+23
| | | | darcs-hash:20070309043638-9c5c1-d943771821d71f87bae133c90d0d3f3a615f4010.gz
* replace Seq [a] with IntMap [a], hopefully gets 6.4 supportDon Stewart2007-03-091-19/+19
| | | | darcs-hash:20070309043035-9c5c1-204ba4741c1d2ab784e986b48131517d33c34d3f.gz
* simplify StackSet api even further (-15 loc)Don Stewart2007-03-093-63/+28
| | | | darcs-hash:20070309041707-9c5c1-3c9ef62c25f49b9025f137f73c8d25438a640ff4.gz
* smaller api, less testsDon Stewart2007-03-091-37/+5
| | | | darcs-hash:20070309035635-9c5c1-98fef33dead5a1f092b4d21120a45da06ffe164e.gz
* use new StackSet apiDon Stewart2007-03-092-20/+24
| | | | darcs-hash:20070309035615-9c5c1-db8a060d256336a54c76948c219d43ec39847628.gz
* shrink StackSet apiDon Stewart2007-03-091-40/+25
| | | | darcs-hash:20070309035603-9c5c1-db366bd13e7423b1c8fb6cfaa90ed4947e3752c1.gz
* Update location for X11-extrasSpencer Janssen2007-03-091-1/+1
| | | | darcs-hash:20070309043422-a5988-5682c1143e9bea706c665c4cf76d5945ed67e4ec.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
* commentsDon Stewart2007-03-091-1/+6
| | | | darcs-hash:20070309030640-9c5c1-a997af4090d9ba5e881d34dd6623e7ab62bec867.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-082-30/+24
| | | | darcs-hash:20070308122613-9c5c1-9d1492a54b2186edcc3c6c5f178254a00a969a6c.gz
* commentsDon Stewart2007-03-081-3/+4
| | | | darcs-hash:20070308120753-9c5c1-89f1c06d6a8f0425701139fe426f08e1cdda42a3.gz
* move W -> WMonadDon Stewart2007-03-082-2/+2
| | | | darcs-hash:20070308120536-9c5c1-cd1cf451dd9a5a75f5372bdd310bb5a485bf2fec.gz
* forgot to add Properties.hsDon Stewart2007-03-081-0/+166
| | | | darcs-hash:20070308120521-9c5c1-984458c813a58b04c648b05f314165541c74d2b7.gz
* move tests into subdirDon Stewart2007-03-081-171/+4
| | | | darcs-hash:20070308120448-9c5c1-f29440447ae30679dd8c8dbd53efea1f906cbce3.gz
* Switch to using abstract StackSet data type. Most workspace logic moved into ↵Don Stewart2007-03-083-133/+479
| | | | | | StackSet.hs darcs-hash:20070308114308-9c5c1-92f9ac368fa47b8c6f069aef1b6c419ee654bd7b.gz
* unpack on our ownDon Stewart2007-03-081-1/+1
| | | | darcs-hash:20070308114255-9c5c1-a55a9a5f3d0a5b2a46b0e62a99588c776dbfec3c.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-072-41/+72
| | | | | | | | | | | | | 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
* no -WerrorDon Stewart2007-03-071-1/+1
| | | | darcs-hash:20070307111240-9c5c1-306ae61f98390e310fd15e7e35c38f5eed853481.gz