summaryrefslogtreecommitdiffstats
path: root/x11vnc/tkx11vnc
diff options
context:
space:
mode:
authorrunge <runge>2006-01-09 01:54:38 +0000
committerrunge <runge>2006-01-09 01:54:38 +0000
commit71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch)
tree67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/tkx11vnc
parentdef301266373e462f4a5e90eab443087ccfc7ccc (diff)
downloadlibtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz
libtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip
x11vnc: the big split.
Diffstat (limited to 'x11vnc/tkx11vnc')
-rwxr-xr-xx11vnc/tkx11vnc10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc
index 07a12f0..d8cc569 100755
--- a/x11vnc/tkx11vnc
+++ b/x11vnc/tkx11vnc
@@ -90,6 +90,7 @@ Clients
=DRQA disconnect:
--
accept:
+ afteraccept:
gone:
vncconnect
-- D
@@ -5951,6 +5952,11 @@ if {$tk_version < 8.4} {
if {"$argv" == "-spit"} {
set fh [open $argv0 r]
+ puts "#ifndef _TKX11VNC_H"
+ puts "#define _TKX11VNC_H"
+ puts "#ifdef NOGUI"
+ puts "char gui_code[] = \"\";"
+ puts "#else"
puts "/*"
puts " * tkx11vnc.h: generated by 'tkx11vnc -spit'"
puts " * Abandon all hope, ye who enter here..."
@@ -5962,6 +5968,10 @@ if {"$argv" == "-spit"} {
regsub -all {"} $line {\\"} line
puts "\"$line\\n\""
}
+ puts "#endif"
+ puts "/* ifdef NOGUI */"
+ puts "#endif"
+ puts "/* ifndef _TKX11VNC_H */"
close $fh
puts ";"
exit 0