summaryrefslogtreecommitdiffstats
path: root/tests/wm.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-10-08 13:11:44 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-10-08 13:11:44 (GMT)
commitdd562fbf5588c9ea41d3e2368e8cbf07c5ee1ec4 (patch)
tree7526f77be91a73683a9da4dc7c1c9d67bcea4e28 /tests/wm.test
parent06374e267ab5ffeccccd30401d5d732a5c6fb06c (diff)
downloadtk-dd562fbf5588c9ea41d3e2368e8cbf07c5ee1ec4.zip
tk-dd562fbf5588c9ea41d3e2368e8cbf07c5ee1ec4.tar.gz
tk-dd562fbf5588c9ea41d3e2368e8cbf07c5ee1ec4.tar.bz2
wm.test - Let wm-stackorder-5.2 and wm-stackorder-5.3 pass on Debian 11 by reading the manual (which says: 'the override-redirect flag is only guaranteed to be taken notice of when the window is first mapped or when mapped after the state is changed from withdrawn to normal'). Constraints failsOnUbuntu and failsOnXQuarz removed from these tests.
Diffstat (limited to 'tests/wm.test')
-rw-r--r--tests/wm.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/wm.test b/tests/wm.test
index a300838..a0c5c30 100644
--- a/tests/wm.test
+++ b/tests/wm.test
@@ -1530,10 +1530,10 @@ test wm-stackorder-5.1 {a menu is not a toplevel} -body {
destroy .t
} -result {.t .}
test wm-stackorder-5.2 {A normal toplevel can't be raised above an \
- overrideredirect toplevel on unix} -constraints {x11 failsOnUbuntu failsOnXQuarz} -body {
+ overrideredirect toplevel on unix} -constraints x11 -body {
toplevel .t
- tkwait visibility .t
wm overrideredirect .t 1
+ tkwait visibility .t
raise .
update
raiseDelay
@@ -1544,8 +1544,8 @@ test wm-stackorder-5.2 {A normal toplevel can't be raised above an \
test wm-stackorder-5.2.1 {A normal toplevel can be raised above an \
overrideredirect toplevel on macOS or win} -constraints aquaOrWin32 -body {
toplevel .t
- tkwait visibility .t
wm overrideredirect .t 1
+ tkwait visibility .t
raise .
update
raiseDelay
@@ -1554,10 +1554,10 @@ test wm-stackorder-5.2.1 {A normal toplevel can be raised above an \
destroy .t
} -result 1
test wm-stackorder-5.3 {An overrideredirect window\
- can be explicitly lowered} -constraints failsOnXQuarz -body {
+ can be explicitly lowered} -body {
toplevel .t
- tkwait visibility .t
wm overrideredirect .t 1
+ tkwait visibility .t
lower .t
update
raiseDelay