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
5b607a44
Commit
5b607a44
authored
Jan 07, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes to ncache cache aging and xdamage skipping
parent
76a495af
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
430 additions
and
228 deletions
+430
-228
README
x11vnc/README
+51
-4
options.c
x11vnc/options.c
+1
-1
userinput.c
x11vnc/userinput.c
+355
-219
winattr_t.h
x11vnc/winattr_t.h
+2
-0
x11vnc.1
x11vnc/x11vnc.1
+1
-1
x11vnc.h
x11vnc/x11vnc.h
+4
-0
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+5
-1
xdamage.c
x11vnc/xdamage.c
+11
-2
No files found.
x11vnc/README
View file @
5b607a44
x11vnc
README
file
Date
:
Wed
Jan
3
19
:
10
:
56
EST
2007
x11vnc
README
file
Date
:
Sun
Jan
7
12
:
08
:
49
EST
2007
The
following
information
is
taken
from
these
URLs
:
...
...
@@ -4171,6 +4171,52 @@ ied)
(rare problem).
Example for the KDE desktop:
Launch the "KDE Control Center" utility. Sometimes this is called
"Personal Settings".
Select "Desktop".
Then Select "Window Behavior". In the "Moving" Tab set these:
* YES - Display content in moving windows
* YES - Display content in resizing windows
* NO - Display window geometry when moving or resizing
* NO - Animate minimize and restore
In the "Translucency" Tab set:
* NO - Use translucency/shadows
Next hit "Back" and then select "Panels".
In the "Appearance" Tab set:
* NO - Enable icon mouseover effects
* NO - Enable transparency
Now go all the way back up to the top and Select "Appearance &
Themes".
Select "Background" and set:
* YES - No picture
* Colors: Single Color
Select "Fonts" and disable anti-aliased fonts if you are bold enough.
Select "Launch Feedback" and set:
* Busy Cursor: No Busy Cursor
* NO - Enable taskbar notification
Select "Screen Saver" and set:
* Screen Saver: Blank Screen
Select "Style" and in the "Effects" Tab set:
* NO - Enable GUI effects
Example for the GNOME desktop:
* TBD.
Q-64: Does x11vnc support the X DAMAGE Xserver extension to find
modified regions of the screen quickly and efficiently?
...
...
@@ -5436,7 +5482,8 @@ EndSection
"-nodpms" option to keep the Monitor out of low power state while VNC
clients are connected. This is basically the same as typing "xset dpms
force on" periodically. (if you don'
t
want
to
do
these
things
just
disable
the
screensaver
).
disable
the
screensaver
).
Feel
free
to
file
a
bug
against
kdesktop_lock
with
KDE
.
Q
-
97
:
Can
I
use
x11vnc
to
view
my
VMWare
session
remotely
?
...
...
@@ -9272,7 +9319,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
:
2007
-
01
-
0
3
x11vnc
:
allow
VNC
connections
to
real
X11
displays
.
0.8.4
lastmod
:
2007
-
01
-
0
7
x11vnc
options
:
-
display
disp
-
auth
file
-
id
windowid
...
...
@@ -9379,7 +9426,7 @@ libvncserver-tight-extension options:
% x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2007-01-0
3
x11vnc: allow VNC connections to real X11 displays. 0.8.4 lastmod: 2007-01-0
7
(type "x11vnc -opts" to just list the options.)
...
...
x11vnc/options.c
View file @
5b607a44
...
...
@@ -195,7 +195,7 @@ int wireframe_in_progress = 0;
int
wireframe_local
=
1
;
#ifndef NCACHE
#define NCACHE -1
0
#define NCACHE -1
2
#endif
#ifdef MACOSX
int
ncache
=
0
;
...
...
x11vnc/userinput.c
View file @
5b607a44
This diff is collapsed.
Click to expand it.
x11vnc/winattr_t.h
View file @
5b607a44
...
...
@@ -17,6 +17,8 @@ typedef struct winattr {
double
time
;
double
bs_time
;
double
su_time
;
double
vis_obs_time
;
double
vis_unobs_time
;
int
bs_x
,
bs_y
,
bs_w
,
bs_h
;
int
su_x
,
su_y
,
su_w
,
su_h
;
Window
above
;
...
...
x11vnc/x11vnc.1
View file @
5b607a44
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "January 2007" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.8.4, lastmod: 2007-01-0
3
version: 0.8.4, lastmod: 2007-01-0
7
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
x11vnc/x11vnc.h
View file @
5b607a44
...
...
@@ -470,6 +470,10 @@ extern double x11vnc_start;
extern
double
last_get_wm_frame_time
;
extern
Window
last_get_wm_frame
;
extern
double
last_bs_restore
;
extern
double
last_su_restore
;
extern
double
last_bs_save
;
extern
double
last_su_save
;
extern
int
hack_val
;
...
...
x11vnc/x11vnc_defs.c
View file @
5b607a44
...
...
@@ -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: 2007-01-0
3
"
;
char
lastmod
[]
=
"0.8.4 lastmod: 2007-01-0
7
"
;
/* X display info */
...
...
@@ -134,6 +134,10 @@ double x11vnc_start = 0.0;
double
last_get_wm_frame_time
=
0
.
0
;
Window
last_get_wm_frame
=
None
;
double
last_bs_restore
=
0
.
0
;
double
last_su_restore
=
0
.
0
;
double
last_bs_save
=
0
.
0
;
double
last_su_save
=
0
.
0
;
int
hack_val
=
0
;
...
...
x11vnc/xdamage.c
View file @
5b607a44
...
...
@@ -563,13 +563,22 @@ int xdamage_hint_skip(int y) {
if
(
ncache
>
0
)
{
if
(
ncache_no_skip
==
0
)
{
if
(
dnow
()
>
last_ncache_no_skip
+
4
.
0
)
{
double
now
=
dnow
();
if
(
now
>
last_ncache_no_skip
+
8
.
0
)
{
ncache_no_skip
=
1
;
}
else
if
(
now
<
last_bs_restore
+
0
.
5
)
{
ncache_no_skip
=
1
;
}
else
if
(
now
<
last_su_restore
+
0
.
5
)
{
ncache_no_skip
=
1
;
}
else
if
(
now
<
last_copyrect
+
0
.
5
)
{
ncache_no_skip
=
1
;
}
if
(
ncache_no_skip
)
{
last_ncache_no_skip
=
dnow
();
return
0
;
}
}
else
{
if
(
++
ncache_no_skip
>=
2
*
nreg
)
{
if
(
ncache_no_skip
++
>=
1
*
nreg
+
4
)
{
ncache_no_skip
=
0
;
}
else
{
return
0
;
...
...
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