summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrunge <runge>2006-12-11 15:51:17 +0000
committerrunge <runge>2006-12-11 15:51:17 +0000
commit6c0ead464bdd9aff42c263331429ca91ff95052f (patch)
treebb6c0d4c691d062ad13c0292a23a651383bde2df
parent3a318ed5908ad9acca318e6709ae6b16e5ffbba2 (diff)
downloadlibtdevnc-6c0ead464bdd9aff42c263331429ca91ff95052f.tar.gz
libtdevnc-6c0ead464bdd9aff42c263331429ca91ff95052f.zip
cleanup some comments.
-rw-r--r--x11vnc/README6
-rw-r--r--x11vnc/macosxCG.c6
-rw-r--r--x11vnc/macosxCGS.c6
-rw-r--r--x11vnc/x11vnc.12
-rw-r--r--x11vnc/x11vnc.c2
-rw-r--r--x11vnc/x11vnc_defs.c2
6 files changed, 12 insertions, 12 deletions
diff --git a/x11vnc/README b/x11vnc/README
index a919ba8..6b24d20 100644
--- a/x11vnc/README
+++ b/x11vnc/README
@@ -1,5 +1,5 @@
-x11vnc README file Date: Sat Dec 9 21:51:28 EST 2006
+x11vnc README file Date: Mon Dec 11 10:46:34 EST 2006
The following information is taken from these URLs:
@@ -9150,7 +9150,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions)
-x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-12-09
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-12-11
x11vnc options:
-display disp -auth file -id windowid
@@ -9255,7 +9255,7 @@ libvncserver-tight-extension options:
% x11vnc -help
-x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-12-09
+x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2006-12-11
(type "x11vnc -opts" to just list the options.)
diff --git a/x11vnc/macosxCG.c b/x11vnc/macosxCG.c
index 84d7713..b7dd2e8 100644
--- a/x11vnc/macosxCG.c
+++ b/x11vnc/macosxCG.c
@@ -92,7 +92,9 @@ extern void macosxGCS_initpb(void);
void macosxCG_init(void) {
if (displayID == NULL) {
fprintf(stderr, "macosxCG_init: initializing display.\n");
- //dragum();
+#if 0
+ dragum();
+#endif
displayID = kCGDirectMainDisplay;
(void) GetMainDevice();
@@ -469,7 +471,7 @@ static int USKeyCodes[] = {
XK_question, 44, /* ? */
XK_backslash, 42, /* \ */
XK_bar, 42, /* | */
- // OS X Sends this (END OF MEDIUM) for Shift-Tab (with US Keyboard)
+ /* OS X Sends this (END OF MEDIUM) for Shift-Tab (with US Keyboard) */
0x0019, 48, /* Tab */
XK_space, 49, /* Space */
};
diff --git a/x11vnc/macosxCGS.c b/x11vnc/macosxCGS.c
index df2e96e..0bc5f1b 100644
--- a/x11vnc/macosxCGS.c
+++ b/x11vnc/macosxCGS.c
@@ -38,9 +38,9 @@ extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid,
CGSWindowID wid, CGSWindowLevel *level);
typedef enum _CGSWindowOrderingMode {
- kCGSOrderAbove = 1, // Window is ordered above target.
- kCGSOrderBelow = -1, // Window is ordered below target.
- kCGSOrderOut = 0 // Window is removed from the on-screen window list.
+ kCGSOrderAbove = 1, /* Window is ordered above target. */
+ kCGSOrderBelow = -1, /* Window is ordered below target. */
+ kCGSOrderOut = 0 /* Window is removed from the on-screen window list. */
} CGSWindowOrderingMode;
extern OSStatus CGSOrderWindow(const CGSConnectionID cid,
diff --git a/x11vnc/x11vnc.1 b/x11vnc/x11vnc.1
index 2a48bb0..d0be824 100644
--- a/x11vnc/x11vnc.1
+++ b/x11vnc/x11vnc.1
@@ -2,7 +2,7 @@
.TH X11VNC "1" "December 2006" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
- version: 0.8.4, lastmod: 2006-12-09
+ version: 0.8.4, lastmod: 2006-12-11
.SH SYNOPSIS
.B x11vnc
[OPTION]...
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c
index d12b272..0824457 100644
--- a/x11vnc/x11vnc.c
+++ b/x11vnc/x11vnc.c
@@ -1470,8 +1470,6 @@ int main(int argc, char* argv[]) {
int argc_vnc_max = 1024;
int argc_vnc = 1; char *argv_vnc[2048];
-//dragum();
-
/* check for -loop mode: */
check_loop_mode(argc, argv);
diff --git a/x11vnc/x11vnc_defs.c b/x11vnc/x11vnc_defs.c
index 9c358ac..6aa4679 100644
--- a/x11vnc/x11vnc_defs.c
+++ b/x11vnc/x11vnc_defs.c
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */
-char lastmod[] = "0.8.4 lastmod: 2006-12-09";
+char lastmod[] = "0.8.4 lastmod: 2006-12-11";
/* X display info */