Commit Graph

736 Commits

Author SHA1 Message Date
Spencer Janssen
f5ad470815 setInitialProperties after placing windows 2007-10-19 20:13:10 +00:00
Spencer Janssen
1be4bc5d91 Ignore borders in the stored RationalRects of floating windows.
Also, add 'floatWindow' which computes the actual Rectangle for that window,
including border.
2007-10-19 06:39:22 +00:00
Spencer Janssen
0514380d76 Only assign workspace keys up to xK_9. Related to bug #63 2007-10-19 08:37:46 +00:00
Spencer Janssen
18cf8fbb10 Ignore borders in the stored RationalRects of floating windows.
Also, add 'floatWindow' which computes the actual Rectangle for that window,
including border.
2007-10-19 06:39:22 +00:00
Spencer Janssen
eb65473591 I prefer fmap over liftM 2007-10-19 06:31:04 +00:00
Devin Mullins
c734586275 change 0/1/3 to named states, per X11-extras darcs head 2007-10-18 02:16:51 +00:00
David Roundy
74131eb15f remove StackOrNot type synonymn. 2007-10-17 20:14:06 +00:00
Eric Mertens
ac94932345 Operations.hs: make use of notElem and notMember 2007-10-17 17:43:57 +00:00
Spencer Janssen
bec871d254 Bump XMonadContrib version v0.4 2007-10-16 21:52:44 +00:00
Spencer Janssen
258f85dd08 Bump X11, X11-extras versions in the README 2007-10-16 21:26:36 +00:00
l.mai
16abab4241 reformat comments 2007-10-16 16:29:20 +00:00
Spencer Janssen
01cf4a5581 Whitespace fixes for Properties.hs 2007-10-15 02:27:57 +00:00
Spencer Janssen
bd6a52e587 Clean up trailing whitespace 2007-10-15 02:23:22 +00:00
Devin Mullins
0938298f29 explain numlockMask 2007-10-14 00:55:25 +00:00
Devin Mullins
5bd96a8e1a whitespace cleanup in Config.hs 2007-10-14 00:53:42 +00:00
Don Stewart
874e6f80f0 bump the version tag to 0.4, we're almost there 2007-10-13 23:27:58 +00:00
Don Stewart
6fecf7c425 document, and use better names, for serialising/existential-dispatch framework 2007-10-13 23:21:50 +00:00
Don Stewart
3a18204adb typo in comment 2007-10-13 23:08:28 +00:00
Don Stewart
2599706141 more todos 2007-10-13 22:52:00 +00:00
Don Stewart
2edc5a92c2 done 2007-10-13 22:35:36 +00:00
Don Stewart
b6d36f3c70 release tasks 2007-10-13 22:33:47 +00:00
Don Stewart
5c9850bf6d some more layout clean ups 2007-10-13 22:23:17 +00:00
Don Stewart
3f3b4251c2 clean up Layout code a little more 2007-10-13 22:10:24 +00:00
Don Stewart
2de6cc7cf1 restore magic markup comments 2007-10-13 21:23:51 +00:00
Don Stewart
3aa746c0db defer to sjanssen's manageHook comment 2007-10-13 21:03:46 +00:00
Don Stewart
48b001f9a2 Heads up: rework the Config.hs file comments, and some variable names. Please manually resync your Config.hs if you're tracking the darcs branch 2007-10-13 21:01:49 +00:00
Don Stewart
775172983b clean up names of layout code 2007-10-13 20:43:00 +00:00
Spencer Janssen
f5bec53b83 Another manageHook example 2007-10-13 20:56:05 +00:00
Spencer Janssen
77e3876d07 Better comment for the default manageHook 2007-10-13 20:33:40 +00:00
Don Stewart
f439e766a4 add can't happen case to silence incomplete patterns in StackSet.hs 2007-10-13 18:55:25 +00:00
Spencer Janssen
c436e63a15 Bump X11-extras dependency 2007-10-12 20:37:21 +00:00
Spencer Janssen
d610407cf8 Respect ExitExceptions, fixes a regression where exitWith had no effect 2007-10-12 15:28:01 +00:00
Spencer Janssen
f7d6f6b6f7 Make runX return XState 2007-10-12 15:15:24 +00:00
David Roundy
6dba9ddeb3 fix potential hole in userCode.
This makes userCode catch errors even when the
user does something like (return undefined).
2007-10-12 15:02:53 +00:00
Andrea Rossato
49f64197b2 Haddox fix 2007-10-12 10:05:51 +00:00
Spencer Janssen
1f625a6c0d Add userCode function for the popular m catchX return () 2007-10-12 01:42:17 +00:00
David Roundy
1eaee82e85 catch exceptions when calling user-written code.
This is a minimal approach that only catches error
in actual user-written code.
2007-10-12 01:33:05 +00:00
David Roundy
07be5998c0 use the right catch in catchX.
Don't ask *me* why the prelude includes a version of
catch that is worse than useless (because it lulls you
into a feeling of safety).
2007-10-12 01:14:50 +00:00
David Roundy
6d7307030a fix one last bug w.r.t. issue 55. 2007-10-12 01:05:09 +00:00
Don Stewart
6c94b3b217 more comments 2007-10-06 15:43:51 +00:00
David Roundy
1a48b527ff one more comment. 2007-10-11 15:44:23 +00:00
David Roundy
75874040cc add comments in XMonad.
This change also removes readLayout as a top level function,
since it's only used once.
2007-10-11 15:29:42 +00:00
Spencer Janssen
e331dd4a82 Nuke old TODOs, add a documentation TODO 2007-10-11 02:21:27 +00:00
Spencer Janssen
3cf5c1f9d4 Set the border color of new windows, nice catch by mauke 2007-10-11 02:16:27 +00:00
Spencer Janssen
4cfe583f63 Bump required X11-extras version to 0.3.1 2007-10-10 16:57:05 +00:00
Spencer Janssen
d348f2ae72 Only adjust floating windows that are actually larger than the screen
Also, fix a typo caught by Xiao-Yong Jin on the mailing list.
2007-10-10 06:26:04 +00:00
Shachaf Ben-Kiki
41063f2e57 Add LANGUAGE pragmas
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE
pragma, so not all of them were added; this patch adds the rest of them, which
is necessary for xmonad to compile in GHC >=6.7.
2007-10-08 02:11:07 +00:00
Ferenc Wagner
42dde26d4d The empty line isntcomment.
There is a separate filter for that case.
2007-10-06 19:12:31 +00:00
Christian Thiemann
c66ff8335e Add event handler for PropertyNotifyEvent that calls logHook if window title changed 2007-10-06 17:54:58 +00:00
Spencer Janssen
f7ecf70a35 Moving to code.haskell.org 2007-10-06 19:18:43 +00:00