Commit 6c0ead46 authored by runge's avatar runge

cleanup some comments.

parent 3a318ed5
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: The following information is taken from these URLs:
...@@ -9150,7 +9150,7 @@ x11vnc: a VNC server for real X displays ...@@ -9150,7 +9150,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options: Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions) % 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: x11vnc options:
-display disp -auth file -id windowid -display disp -auth file -id windowid
...@@ -9255,7 +9255,7 @@ libvncserver-tight-extension options: ...@@ -9255,7 +9255,7 @@ libvncserver-tight-extension options:
% x11vnc -help % 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.) (type "x11vnc -opts" to just list the options.)
......
...@@ -92,7 +92,9 @@ extern void macosxGCS_initpb(void); ...@@ -92,7 +92,9 @@ extern void macosxGCS_initpb(void);
void macosxCG_init(void) { void macosxCG_init(void) {
if (displayID == NULL) { if (displayID == NULL) {
fprintf(stderr, "macosxCG_init: initializing display.\n"); fprintf(stderr, "macosxCG_init: initializing display.\n");
//dragum(); #if 0
dragum();
#endif
displayID = kCGDirectMainDisplay; displayID = kCGDirectMainDisplay;
(void) GetMainDevice(); (void) GetMainDevice();
...@@ -469,7 +471,7 @@ static int USKeyCodes[] = { ...@@ -469,7 +471,7 @@ static int USKeyCodes[] = {
XK_question, 44, /* ? */ XK_question, 44, /* ? */
XK_backslash, 42, /* \ */ XK_backslash, 42, /* \ */
XK_bar, 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 */ 0x0019, 48, /* Tab */
XK_space, 49, /* Space */ XK_space, 49, /* Space */
}; };
......
...@@ -38,9 +38,9 @@ extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid, ...@@ -38,9 +38,9 @@ extern CGWindowLevel CGSGetWindowLevel (CGSConnectionID cid,
CGSWindowID wid, CGSWindowLevel *level); CGSWindowID wid, CGSWindowLevel *level);
typedef enum _CGSWindowOrderingMode { typedef enum _CGSWindowOrderingMode {
kCGSOrderAbove = 1, // Window is ordered above target. kCGSOrderAbove = 1, /* Window is ordered above target. */
kCGSOrderBelow = -1, // Window is ordered below target. kCGSOrderBelow = -1, /* Window is ordered below target. */
kCGSOrderOut = 0 // Window is removed from the on-screen window list. kCGSOrderOut = 0 /* Window is removed from the on-screen window list. */
} CGSWindowOrderingMode; } CGSWindowOrderingMode;
extern OSStatus CGSOrderWindow(const CGSConnectionID cid, extern OSStatus CGSOrderWindow(const CGSConnectionID cid,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.TH X11VNC "1" "December 2006" "x11vnc " "User Commands" .TH X11VNC "1" "December 2006" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays 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 .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
......
...@@ -1470,8 +1470,6 @@ int main(int argc, char* argv[]) { ...@@ -1470,8 +1470,6 @@ int main(int argc, char* argv[]) {
int argc_vnc_max = 1024; int argc_vnc_max = 1024;
int argc_vnc = 1; char *argv_vnc[2048]; int argc_vnc = 1; char *argv_vnc[2048];
//dragum();
/* check for -loop mode: */ /* check for -loop mode: */
check_loop_mode(argc, argv); check_loop_mode(argc, argv);
......
...@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0; ...@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int xdamage_base_event_type = 0; int xdamage_base_event_type = 0;
/* date +'lastmod: %Y-%m-%d' */ /* 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 */ /* X display info */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment