summaryrefslogtreecommitdiffstats
path: root/tests/menu.test
diff options
context:
space:
mode:
authordrh@sqlite.org <drh>2000-09-30 18:46:03 (GMT)
committerdrh@sqlite.org <drh>2000-09-30 18:46:03 (GMT)
commit00ece1bc58cbe809ddd2bb0525df7bf3f5369bf5 (patch)
tree045db8b798a5b1731268d029d0215b8e98307778 /tests/menu.test
parent7e66c30603dbf18250a2af241d6689a7928b4adb (diff)
downloadtk-00ece1bc58cbe809ddd2bb0525df7bf3f5369bf5.zip
tk-00ece1bc58cbe809ddd2bb0525df7bf3f5369bf5.tar.gz
tk-00ece1bc58cbe809ddd2bb0525df7bf3f5369bf5.tar.bz2
Fix bitmaps so that the same bitmap will not be used
on two difference screens of the same display. Without this fix you get a BadMatch error from the X-server when you try to use a bitmap on two screens at once.
Diffstat (limited to 'tests/menu.test')
-rw-r--r--tests/menu.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/menu.test b/tests/menu.test
index 4b346ac..fa3a049 100644
--- a/tests/menu.test
+++ b/tests/menu.test
@@ -5,7 +5,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: menu.test,v 1.4 2000/05/11 22:37:05 hobbs Exp $
+# RCS: @(#) $Id: menu.test,v 1.5 2000/09/30 18:46:04 drh Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -2449,6 +2449,8 @@ test menu-35.1 {menus on multiple screens - crashes tk8.3.1, Bug 5454} {
menu .two.m
destroy .one
destroy .two
+ } else {
+ puts "skipping: Multi-screen tests requiring TK_ALT_DISPLAY..."
}
} {}