aboutsummaryrefslogtreecommitdiff
path: root/src/sman
diff options
context:
space:
mode:
Diffstat (limited to 'src/sman')
-rw-r--r--src/sman/sman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sman/sman.c b/src/sman/sman.c
index b1fe4a0d..be21226d 100644
--- a/src/sman/sman.c
+++ b/src/sman/sman.c
@@ -776,7 +776,8 @@ main(int argc, char *argv[])
start_the_session_manager();
if (start_spadclient) start_the_spadclient();
if (start_local_spadclient) start_the_local_spadclient();
- if (start_ht) start_the_hypertex();
+ if (start_ht and in_X())
+ start_the_hypertex();
if (start_graphics and in_X())
start_the_graphics();
openaxiom_sleep(1);