Don Stewart
bf0f487ca4
add 8 new QC tests, including tests of the layout algorithm
2007-04-19 04:08:33 +00:00
Spencer Janssen
c858e0be4e
Remove useless pragma
2007-04-19 01:52:39 +00:00
Don Stewart
b765cc9706
Parameterise StackSet by two index types, rather than breaking abstraction
2007-04-19 01:27:05 +00:00
Don Stewart
cf2c9f7328
tweak loc count to match count_lines script
2007-04-18 22:47:25 +00:00
Don Stewart
f3f83af393
Promote now swaps focused window with master window
...
This means other windows are unaffected.
The change from the previous cycling behaviour was felt necessary, since
cycling isn't a terribly useful operation.
Some properties that hold:
focus is unchanged by promotion
promote is idempotent (promoting twice does nothing)
the focused and master window will swap their positions in the stack
2007-04-18 22:42:36 +00:00
Don Stewart
4b626ff729
and the tests still run
2007-04-11 08:15:00 +00:00
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