Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
399a175f
Commit
399a175f
authored
Dec 17, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: make -xwarppointer the default if xinerama is active.
parent
afc931f1
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1317 additions
and
1267 deletions
+1317
-1267
ChangeLog
x11vnc/ChangeLog
+3
-0
README
x11vnc/README
+1277
-1255
help.c
x11vnc/help.c
+9
-5
options.c
x11vnc/options.c
+1
-0
options.h
x11vnc/options.h
+1
-0
x11vnc.1
x11vnc/x11vnc.1
+10
-6
x11vnc.c
x11vnc/x11vnc.c
+3
-0
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
xinerama.c
x11vnc/xinerama.c
+12
-0
No files found.
x11vnc/ChangeLog
View file @
399a175f
2006-12-17 Karl Runge <runge@karlrunge.com>
* x11vnc: make -xwarppointer the default if xinerama is active.
2006-12-09 Karl Runge <runge@karlrunge.com>
* java SSL viewer: guard against empty urlPrefix
* x11vnc: FINDCREATEDISPLAY support to create X session if
...
...
x11vnc/README
View file @
399a175f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/help.c
View file @
399a175f
...
...
@@ -1564,9 +1564,10 @@ void print_help(int mode) {
" areas to black out (if your system has libXinerama).
\n
"
" default: %s
\n
"
"
\n
"
" In general, we have noticed on XINERAMA displays you
\n
"
" may need to use the
\"
-xwarppointer
\"
option if the mouse
\n
"
" pointer misbehaves.
\n
"
" In general, we have noticed on XINERAMA displays you may
\n
"
" need to use the
\"
-xwarppointer
\"
option if the mouse
\n
"
" pointer misbehaves and it is enabled by default. Use
\n
"
"
\"
-noxwarppointer
\"
if you do not want this.
\n
"
"
\n
"
"-xtrap Use the DEC-XTRAP extension for keystroke and mouse
\n
"
" input insertion. For use on legacy systems, e.g. X11R5,
\n
"
...
...
@@ -1976,10 +1977,13 @@ void print_help(int mode) {
" CursorPosUpdates extension. Other clients will be able
\n
"
" to see the pointer motions. Default: %s
\n
"
"-xwarppointer Move the pointer with XWarpPointer(3X) instead of
\n
"
"
the XTEST extension. Use this as a workaround
\n
"
"
-noxwarppointer
the XTEST extension. Use this as a workaround
\n
"
" if the pointer motion behaves incorrectly, e.g.
\n
"
" on touchscreens or other non-standard setups.
\n
"
" Also sometimes needed on XINERAMA displays.
\n
"
"
\n
"
" It is also sometimes needed on XINERAMA displays and is
\n
"
" enabled by default if XINERAMA is found to be active.
\n
"
" To prevent this, use -noxwarppointer.
\n
"
"
\n
"
"-buttonmap string String to remap mouse buttons. Format: IJK-LMN, this
\n
"
" maps buttons I -> L, etc., e.g. -buttonmap 13-31
\n
"
...
...
x11vnc/options.c
View file @
399a175f
...
...
@@ -355,6 +355,7 @@ int use_threads = 0;
#endif
/* info about command line opts */
int
got_noxwarppointer
=
0
;
int
got_rfbport
=
0
;
int
got_rfbport_val
=
-
1
;
int
got_alwaysshared
=
0
;
...
...
x11vnc/options.h
View file @
399a175f
...
...
@@ -266,6 +266,7 @@ extern int verbose;
extern
int
use_threads
;
extern
int
got_noxwarppointer
;
extern
int
got_rfbport
;
extern
int
got_rfbport_val
;
extern
int
got_alwaysshared
;
...
...
x11vnc/x11vnc.1
View file @
399a175f
...
...
@@ -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-1
1
version: 0.8.4, lastmod: 2006-12-1
4
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
@@ -1794,9 +1794,10 @@ not a rectangle this option will try to guess the
areas to black out (if your system has libXinerama).
default: \fB-xinerama\fR
.IP
In general, we have noticed on XINERAMA displays you
may need to use the "\fB-xwarppointer\fR" option if the mouse
pointer misbehaves.
In general, we have noticed on XINERAMA displays you may
need to use the "\fB-xwarppointer\fR" option if the mouse
pointer misbehaves and it is enabled by default. Use
"\fB-noxwarppointer\fR" if you do not want this.
.PP
\fB-xtrap\fR
.IP
...
...
@@ -2325,7 +2326,7 @@ back to all vnc clients that support the TightVNC
CursorPosUpdates extension. Other clients will be able
to see the pointer motions. Default: \fB-cursorpos\fR
.PP
\fB-xwarppointer\fR
\fB-xwarppointer
,\fR \fB-noxwarppointer
\fR
.IP
Move the pointer with
.IR XWarpPointer (3X)
...
...
@@ -2333,7 +2334,10 @@ instead of
the XTEST extension. Use this as a workaround
if the pointer motion behaves incorrectly, e.g.
on touchscreens or other non-standard setups.
Also sometimes needed on XINERAMA displays.
.IP
It is also sometimes needed on XINERAMA displays and is
enabled by default if XINERAMA is found to be active.
To prevent this, use \fB-noxwarppointer.\fR
.PP
\fB-buttonmap\fR \fIstring\fR
.IP
...
...
x11vnc/x11vnc.c
View file @
399a175f
...
...
@@ -2097,6 +2097,9 @@ int main(int argc, char* argv[]) {
cursor_pos_updates
=
0
;
}
else
if
(
!
strcmp
(
arg
,
"-xwarppointer"
))
{
use_xwarppointer
=
1
;
}
else
if
(
!
strcmp
(
arg
,
"-noxwarppointer"
))
{
use_xwarppointer
=
0
;
got_noxwarppointer
=
1
;
}
else
if
(
!
strcmp
(
arg
,
"-buttonmap"
))
{
CHECK_ARGC
pointer_remap
=
strdup
(
argv
[
++
i
]);
...
...
x11vnc/x11vnc_defs.c
View file @
399a175f
...
...
@@ -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-1
1
"
;
char
lastmod
[]
=
"0.8.4 lastmod: 2006-12-1
4
"
;
/* X display info */
...
...
x11vnc/xinerama.c
View file @
399a175f
...
...
@@ -260,6 +260,15 @@ static void initialize_xinerama (void) {
return
;
}
xinerama_present
=
1
;
rfbLog
(
"
\n
"
);
rfbLog
(
"Xinerama is present and active (e.g. multi-head).
\n
"
);
if
(
!
use_xwarppointer
&&
!
got_noxwarppointer
)
{
rfbLog
(
"Xinerama: enabling -xwarppointer mode to try to correct
\n
"
);
rfbLog
(
"Xinerama: mouse pointer motion. XTEST+XINERAMA bug.
\n
"
);
rfbLog
(
"Xinerama: Use -noxwarppointer to force XTEST.
\n
"
);
use_xwarppointer
=
1
;
}
/* n.b. change to XineramaGetData() someday */
xineramas
=
XineramaQueryScreens
(
dpy
,
&
n
);
...
...
@@ -271,6 +280,7 @@ static void initialize_xinerama (void) {
if
(
verbose
)
{
rfbLog
(
"Xinerama: no blackouts needed (only one"
" sub-screen)
\n
"
);
rfbLog
(
"
\n
"
);
}
XFree_wr
(
xineramas
);
return
;
/* must be OK w/o change */
...
...
@@ -298,6 +308,7 @@ static void initialize_xinerama (void) {
if
(
sraRgnEmpty
(
black_region
))
{
rfbLog
(
"Xinerama: no blackouts needed (screen fills"
" rectangle)
\n
"
);
rfbLog
(
"
\n
"
);
sraRgnDestroy
(
black_region
);
return
;
}
...
...
@@ -332,6 +343,7 @@ static void initialize_xinerama (void) {
}
sraRgnReleaseIterator
(
iter
);
initialize_blackouts
(
bstr
);
rfbLog
(
"
\n
"
);
free
(
bstr
);
free
(
tstr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment