Commit Graph

1644 Commits

Author SHA1 Message Date
Don Stewart
11bb12cc31 catch exceptions in spawn, so failing to fork won't kill the wm 2007-03-12 06:26:12 +00:00
Don Stewart
81eef69458 fiddling, comments 2007-03-12 01:40:29 +00:00
Don Stewart
5398895bf4 comments, move isRoot into XMonad 2007-03-12 01:23:50 +00:00
Don Stewart
511559958a wibbles 2007-03-12 01:07:56 +00:00
Don Stewart
c5c7132e62 abstract out setfocus code a bit 2007-03-12 00:55:40 +00:00
Don Stewart
2365e68c6a general refactor, and call xerrorhandler to ignore certain undetectable issues 2007-03-11 10:26:53 +00:00
Don Stewart
060a9d304f initial support for Atom-based delete protocol. makes kill client work on firefox. Quitting though still leads to a bogus notify from firefox, for a closed window 2007-03-11 06:45:15 +00:00
Spencer Janssen
b83c10059f thunk is now known as xmonad! 2007-03-10 07:03:20 +00:00
Don Stewart
5ddd9351dc XMonad 2007-03-10 07:01:52 +00:00
Don Stewart
b5ab851d2b add tracing for kill window 2007-03-10 06:21:54 +00:00
Spencer Janssen
38afc2327a Use 9 workspaces by default 2007-03-10 04:11:14 +00:00
Spencer Janssen
5afd9dbc20 Reduce flicker on workspace change. 2007-03-10 04:10:21 +00:00
Don Stewart
cf814ea946 typo 2007-03-10 03:40:12 +00:00
Don Stewart
df7caf7213 Add support for Enter/Leave notify events. Fixes firefox on my machine 2007-03-10 03:27:59 +00:00
Don Stewart
f0830db81c refactor, trying to seperate out IO from W stuff, in order to QC the handler at some point 2007-03-10 01:29:40 +00:00
Don Stewart
a78c857719 notes on the firefox bug
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.
2007-03-09 16:25:10 +00:00
Don Stewart
ef8581079d grammar nazis 2007-03-09 14:56:49 +00:00
Don Stewart
6d613c7cc4 whitespace. and note if we get a config request for an already managed window 2007-03-09 14:43:08 +00:00
Don Stewart
1ca37d5385 improved grabkeys (also handle lockMask down) 2007-03-09 13:42:11 +00:00
Don Stewart
b63af49180 alloc the event space only once 2007-03-09 13:41:49 +00:00
Don Stewart
7646f72e45 also select for enter and leave window events (need for XCrossing?) 2007-03-09 13:12:51 +00:00
Don Stewart
f1905e2699 we should check for OverrideRedirect on initial scan too 2007-03-09 13:06:08 +00:00
Don Stewart
2ed6f203c4 no unix dependency 2007-03-09 09:19:51 +00:00
Don Stewart
c5032febfc fmt only 2007-03-09 09:14:55 +00:00
Don Stewart
8941aaaaf2 unnec. export list 2007-03-09 09:13:28 +00:00
Don Stewart
faab935ced unnec. `nub' 2007-03-09 09:10:45 +00:00
Don Stewart
6386569f9b just use Map, not int map. strict updates don't seem to help btw. 2007-03-09 08:37:06 +00:00
Don Stewart
4d7af3b953 comments on whether we lose space due to lazy updates of the stack set 2007-03-09 08:16:21 +00:00
Don Stewart
11afb17966 don't need the unix package 2007-03-09 07:51:48 +00:00
Don Stewart
354067b441 sneaky inline 2007-03-09 06:38:18 +00:00
Don Stewart
f77f0ae32c little bit of strictness, based on -prof output 2007-03-09 06:34:49 +00:00
Don Stewart
914192cc70 explicit interface on StackSet. maybe it should be a seperate package ... ? 2007-03-09 06:12:55 +00:00
Don Stewart
03366b9303 -12 lines, refactor 2007-03-09 06:01:39 +00:00
Don Stewart
0c4eae0317 refactor, -10 or so loc 2007-03-09 05:54:17 +00:00
Don Stewart
2a3284a31a more QC properties on StackSets 2007-03-09 05:40:42 +00:00
Don Stewart
0ea4260a4c simpler type (no need to cache size, we *could* grow new stacks on demand now) 2007-03-09 04:36:38 +00:00
Don Stewart
d93cd66d11 replace Seq [a] with IntMap [a], hopefully gets 6.4 support 2007-03-09 04:30:35 +00:00
Don Stewart
7e2caa4707 simplify StackSet api even further (-15 loc) 2007-03-09 04:17:07 +00:00
Don Stewart
f10a61fad1 smaller api, less tests 2007-03-09 03:56:35 +00:00
Don Stewart
78407a3c26 use new StackSet api 2007-03-09 03:56:15 +00:00
Don Stewart
436fbd7865 shrink StackSet api 2007-03-09 03:56:03 +00:00
Spencer Janssen
7f9b4ca954 Update location for X11-extras 2007-03-09 04:34:22 +00:00
Don Stewart
dcfd566287 comments 2007-03-09 03:18:47 +00:00
Don Stewart
6fe1daf96d handle MappingNotifyEvent properly, and missing test in MapRequestEvent. firefox still won't take the keyboard though 2007-03-09 03:06:44 +00:00
Don Stewart
b8ec2a7b91 comments 2007-03-09 03:06:40 +00:00
Don Stewart
131aad3ce4 stub for MappingNotifyEvent, based on dwm. But the X11-extras binding for this event needs doing (sjanssen?) 2007-03-08 13:05:17 +00:00
Don Stewart
39f52d8fa8 refactoring. heads up: depends on withServer in X11-extras 2007-03-08 12:26:13 +00:00
Don Stewart
87ee0cc151 comments 2007-03-08 12:07:53 +00:00
Don Stewart
8fafb7f5e7 move W -> WMonad 2007-03-08 12:05:36 +00:00
Don Stewart
27c2e1259d forgot to add Properties.hs 2007-03-08 12:05:21 +00:00