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
914f7b71
Commit
914f7b71
authored
Jan 25, 2005
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l: really fix preferredEncoding set from outside
parent
bbab3158
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TODO
TODO
+0
-1
rfbserver.c
libvncserver/rfbserver.c
+2
-1
No files found.
TODO
View file @
914f7b71
...
@@ -5,7 +5,6 @@ VisualNaCro testing
...
@@ -5,7 +5,6 @@ VisualNaCro testing
test IRIX -overlay (x11vnc)
test IRIX -overlay (x11vnc)
java vncviewer doesn't do colour cursors?
java vncviewer doesn't do colour cursors?
MinGW32 doesn't do fcntl on sockets; use setsockopt instead...
MinGW32 doesn't do fcntl on sockets; use setsockopt instead...
if preferredEncoding is set outside of libvncserver, don't override it.
make libvncclient threadsafe (static zlib buffer -> rfbClient*)
make libvncclient threadsafe (static zlib buffer -> rfbClient*)
make corre work again (libvncclient or libvncserver?)
make corre work again (libvncclient or libvncserver?)
implement zrle in libvncclient
implement zrle in libvncclient
...
...
libvncserver/rfbserver.c
View file @
914f7b71
...
@@ -283,7 +283,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
...
@@ -283,7 +283,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
cl
->
reverseConnection
=
FALSE
;
cl
->
reverseConnection
=
FALSE
;
cl
->
readyForSetColourMapEntries
=
FALSE
;
cl
->
readyForSetColourMapEntries
=
FALSE
;
cl
->
useCopyRect
=
FALSE
;
cl
->
useCopyRect
=
FALSE
;
cl
->
preferredEncoding
=
rfbEncodingRaw
;
cl
->
preferredEncoding
=
-
1
;
cl
->
correMaxWidth
=
48
;
cl
->
correMaxWidth
=
48
;
cl
->
correMaxHeight
=
48
;
cl
->
correMaxHeight
=
48
;
#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBZ
...
@@ -1331,6 +1331,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
...
@@ -1331,6 +1331,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
+
w
*
(
cl
->
format
.
bitsPerPixel
/
8
)
*
h
);
+
w
*
(
cl
->
format
.
bitsPerPixel
/
8
)
*
h
);
switch
(
cl
->
preferredEncoding
)
{
switch
(
cl
->
preferredEncoding
)
{
case
-
1
:
case
rfbEncodingRaw
:
case
rfbEncodingRaw
:
if
(
!
rfbSendRectEncodingRaw
(
cl
,
x
,
y
,
w
,
h
))
if
(
!
rfbSendRectEncodingRaw
(
cl
,
x
,
y
,
w
,
h
))
goto
updateFailed
;
goto
updateFailed
;
...
...
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