diff options
author | culler <culler> | 2019-03-01 15:28:48 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-01 15:28:48 (GMT) |
commit | 403f01fa032b477c866cb88915f0604d9d9d0dac (patch) | |
tree | 0b17892261ebeb944a5c7c62aadb1c2e6f8212a4 /tests | |
parent | 827393fdd0d40c400d800dbf3b042b48c8f3a692 (diff) | |
download | tk-403f01fa032b477c866cb88915f0604d9d9d0dac.zip tk-403f01fa032b477c866cb88915f0604d9d9d0dac.tar.gz tk-403f01fa032b477c866cb88915f0604d9d9d0dac.tar.bz2 |
Make it be an error to create a transient/master cycle on Aqua. Other
platforms will be handled in separate check-ins.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wm.test | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test index 7b81985..c2bc385 100644 --- a/tests/wm.test +++ b/tests/wm.test @@ -1640,14 +1640,24 @@ test wm-transient-1.7 {usage} -returnCodes error -body { wm transient .master .master } -cleanup { deleteWindows -} -result {can't make ".master" its own master} +} -result {setting ".master" as master creates a transient/master cycle} test wm-transient-1.8 {usage} -returnCodes error -body { + toplevel .t1 + toplevel .t2 + toplevel .t3 + wm transient .t2 .t1 + wm transient .t3 .t2 + wm transient .t1 .t3 +} -cleanup { + deleteWindows +} -result {setting ".t3" as master creates a transient/master cycle} +test wm-transient-1.9 {usage} -returnCodes error -body { toplevel .master frame .master.f wm transient .master .master.f } -cleanup { deleteWindows -} -result {can't make ".master" its own master} +} -result {setting ".master" as master creates a transient/master cycle} test wm-transient-2.1 {basic get/set of master} -setup { set results [list] |