diff options
author | Don Stewart <dons@cse.unsw.edu.au> | 2007-05-08 07:11:26 +0200 |
---|---|---|
committer | Don Stewart <dons@cse.unsw.edu.au> | 2007-05-08 07:11:26 +0200 |
commit | ebeba623ae16b6d91f7bf262edd9bf47e25a1751 (patch) | |
tree | e09e7bcdd9a1b0acca04cb25806af201e526a647 /StackSet.hs | |
parent | 6958bd88b7031903652db239fdb6c1e4d94b945b (diff) | |
download | xmonad-ebeba623ae16b6d91f7bf262edd9bf47e25a1751.tar.gz xmonad-ebeba623ae16b6d91f7bf262edd9bf47e25a1751.tar.xz xmonad-ebeba623ae16b6d91f7bf262edd9bf47e25a1751.zip |
Arbitrary instance for StackSet must set random focus on each workspace
When focus was separated from the stack order on each workspace, we
forgot to update the Arbitrary instance to set random focus. As spotted
by David R, this then invalidates 4 of our QC properties. In particular,
the property involving where focus goes after a random transient
(annoying behaviour) appeared to be correct, but wasn't, due to
inadequate coverage.
This patch sets focus to a random window on each workspace. As a result,
we now catch the focus/raise/delete issue people have been complaining
about.
Lesson: make sure your QuickCheck generators are doing what you think
they are.
darcs-hash:20070508051126-9c5c1-55a0597e6838b35f12b3d348e85360cda6c237ca.gz
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions