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
a29e42e5
Commit
a29e42e5
authored
May 09, 2010
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvncclient: rfbResizeFrameBuffer should also set updateRect.
parent
a3c971ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
ChangeLog
ChangeLog
+4
-0
rfbproto.c
libvncclient/rfbproto.c
+9
-0
No files found.
ChangeLog
View file @
a29e42e5
2010-05-08 Karl Runge <runge@karlrunge.com>
* libvncclient/rfbproto.c: rfbResizeFrameBuffer should also set
updateRect.
2010-01-02 Karl Runge <runge@karlrunge.com>
2010-01-02 Karl Runge <runge@karlrunge.com>
* tightvnc-filetransfer/rfbtightserver.c: enabled fix
* tightvnc-filetransfer/rfbtightserver.c: enabled fix
for tight security type for RFB 3.8 (debian bug 517422.)
for tight security type for RFB 3.8 (debian bug 517422.)
...
...
libvncclient/rfbproto.c
View file @
a29e42e5
...
@@ -1542,6 +1542,9 @@ HandleRFBServerMessage(rfbClient* client)
...
@@ -1542,6 +1542,9 @@ HandleRFBServerMessage(rfbClient* client)
if
(
rect
.
encoding
==
rfbEncodingNewFBSize
)
{
if
(
rect
.
encoding
==
rfbEncodingNewFBSize
)
{
client
->
width
=
rect
.
r
.
w
;
client
->
width
=
rect
.
r
.
w
;
client
->
height
=
rect
.
r
.
h
;
client
->
height
=
rect
.
r
.
h
;
client
->
updateRect
.
x
=
client
->
updateRect
.
y
=
0
;
client
->
updateRect
.
w
=
client
->
width
;
client
->
updateRect
.
h
=
client
->
height
;
client
->
MallocFrameBuffer
(
client
);
client
->
MallocFrameBuffer
(
client
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
rect
.
r
.
w
,
rect
.
r
.
h
,
FALSE
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
rect
.
r
.
w
,
rect
.
r
.
h
,
FALSE
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
rect
.
r
.
w
,
rect
.
r
.
h
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
rect
.
r
.
w
,
rect
.
r
.
h
);
...
@@ -1974,6 +1977,9 @@ HandleRFBServerMessage(rfbClient* client)
...
@@ -1974,6 +1977,9 @@ HandleRFBServerMessage(rfbClient* client)
return
FALSE
;
return
FALSE
;
client
->
width
=
rfbClientSwap16IfLE
(
msg
.
rsfb
.
framebufferWidth
);
client
->
width
=
rfbClientSwap16IfLE
(
msg
.
rsfb
.
framebufferWidth
);
client
->
height
=
rfbClientSwap16IfLE
(
msg
.
rsfb
.
framebufferHeigth
);
client
->
height
=
rfbClientSwap16IfLE
(
msg
.
rsfb
.
framebufferHeigth
);
client
->
updateRect
.
x
=
client
->
updateRect
.
y
=
0
;
client
->
updateRect
.
w
=
client
->
width
;
client
->
updateRect
.
h
=
client
->
height
;
client
->
MallocFrameBuffer
(
client
);
client
->
MallocFrameBuffer
(
client
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
client
->
width
,
client
->
height
,
FALSE
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
client
->
width
,
client
->
height
,
FALSE
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
client
->
width
,
client
->
height
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
client
->
width
,
client
->
height
);
...
@@ -1987,6 +1993,9 @@ HandleRFBServerMessage(rfbClient* client)
...
@@ -1987,6 +1993,9 @@ HandleRFBServerMessage(rfbClient* client)
return
FALSE
;
return
FALSE
;
client
->
width
=
rfbClientSwap16IfLE
(
msg
.
prsfb
.
buffer_w
);
client
->
width
=
rfbClientSwap16IfLE
(
msg
.
prsfb
.
buffer_w
);
client
->
height
=
rfbClientSwap16IfLE
(
msg
.
prsfb
.
buffer_h
);
client
->
height
=
rfbClientSwap16IfLE
(
msg
.
prsfb
.
buffer_h
);
client
->
updateRect
.
x
=
client
->
updateRect
.
y
=
0
;
client
->
updateRect
.
w
=
client
->
width
;
client
->
updateRect
.
h
=
client
->
height
;
client
->
MallocFrameBuffer
(
client
);
client
->
MallocFrameBuffer
(
client
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
client
->
width
,
client
->
height
,
FALSE
);
SendFramebufferUpdateRequest
(
client
,
0
,
0
,
client
->
width
,
client
->
height
,
FALSE
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
client
->
width
,
client
->
height
);
rfbClientLog
(
"Got new framebuffer size: %dx%d
\n
"
,
client
->
width
,
client
->
height
);
...
...
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