Commit Graph

25 Commits

Author SHA1 Message Date
Don Stewart
e9597b4899 Change semantics of 'promote'.
Previously 'promote' would move the currently focused window into the
master position in tiled mode. This was *almost* a cycle of the windows,
but not quite (depending on where the focus was, it was in fact a
cycle).

Now we do the obvious generalisation, and just cycle the current window
stack. Simpler to understand, simpler to reason about.
2007-04-11 07:34:56 +00:00
Don Stewart
10a9f73be8 merge with toList/fromList patch 2007-04-11 06:09:47 +00:00
Don Stewart
c490333d12 Statically distinguish Workspace and Screen indices 2007-04-11 06:04:56 +00:00
Jason Creighton
c6dcc9d869 fromList/toList have # of screens + another QC property 2007-04-11 04:42:15 +00:00
Jason Creighton
ac913104a5 Xinerama screen switching bugfix 2007-04-11 04:16:15 +00:00
Jason Creighton
0c95f0c143 moved screen <-> workspace mapping from XMonad to StackSet 2007-04-10 06:27:31 +00:00
Alec Berryman
df4bda60ff Remove trailing spaces, no content changed 2007-04-01 14:45:39 +00:00
Don Stewart
b3dbe98e64 formatting only 2007-04-01 00:47:26 +00:00
daniel
5e6407df7f allow mouse to change current workspace 2007-03-28 10:34:35 +00:00
Spencer Janssen
a05115bb72 Add promote 2007-03-22 22:15:47 +00:00
Spencer Janssen
8a1a3333a8 Add raiseFocus. 2007-03-20 16:01:35 +00:00
Spencer Janssen
f1a0796da3 Decouple the concepts of focus and window order. First step to tiling! 2007-03-20 05:11:24 +00:00
Jason Creighton
bb43b2ad6f basic xinerama support (depends on Graphics.X11.Xinerama in X11-extras) 2007-03-17 23:49:04 +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
914192cc70 explicit interface on StackSet. maybe it should be a seperate package ... ? 2007-03-09 06:12:55 +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
436fbd7865 shrink StackSet api 2007-03-09 03:56:03 +00:00
Don Stewart
b8ec2a7b91 comments 2007-03-09 03:06:40 +00:00
Don Stewart
12f4590bf5 move tests into subdir 2007-03-08 12:04:48 +00:00
Don Stewart
87312a91b2 Switch to using abstract StackSet data type. Most workspace logic moved into StackSet.hs 2007-03-08 11:43:08 +00:00