#!/bin/bash
# -*- mode: shell-script; coding: utf-8 -*-
#
# Copyright 2002-2014 Cendio AB.
# For more information, see http://www.cendio.com
#
# action: Setting client window title
#
# Set session "desktop name", displayed in the client window title,
# if a start program is used. 

if [ "${TLCOMMAND}" ]; then
    "${TLPREFIX}/bin/vncconfig" -set "desktop=${TLCOMMAND}"
fi
