summaryrefslogtreecommitdiffstats
path: root/ds9
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-07-06 17:34:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-07-06 17:34:50 (GMT)
commitb2127defdc88528782162d2ece27fb60a42bdcf7 (patch)
treeccc892db5c2263483b4e6e7432cedf5ceff3788a /ds9
parent2e247af5ad994fb192d72a6ecf6aa1c7ec897c72 (diff)
downloadblt-b2127defdc88528782162d2ece27fb60a42bdcf7.zip
blt-b2127defdc88528782162d2ece27fb60a42bdcf7.tar.gz
blt-b2127defdc88528782162d2ece27fb60a42bdcf7.tar.bz2
fix XPA at startup switch
Diffstat (limited to 'ds9')
-rw-r--r--ds9/library/ds9.tcl14
1 files changed, 7 insertions, 7 deletions
diff --git a/ds9/library/ds9.tcl b/ds9/library/ds9.tcl
index f98fe51..ab778c1 100644
--- a/ds9/library/ds9.tcl
+++ b/ds9/library/ds9.tcl
@@ -127,7 +127,12 @@ proc DS9Def {} {
set pds9(backup) 1
set pds9(automarker) 1
- set pds9(xpa) 1
+ switch $ds9(wm) {
+ x11 -
+ aqua {set pds9(xpa) 1}
+ win32 {set pds9(xpa) 0}
+ }
+
set pds9(samp) 1
set pds9(confirm) 1
set pds9(bg) white
@@ -569,12 +574,7 @@ ConfigHTTP
InitSAMP
# XPA
-# don't start xpa for windows
-switch $ds9(wm) {
- x11 -
- aqua {InitXPA}
- win32 {}
-}
+InitXPA
# and process any command line items
# we want to see something before any fits files are loaded