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
64101231
Commit
64101231
authored
Sep 29, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nother try
parent
58031bcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
TODO
TODO
+2
-0
cursor.c
cursor.c
+7
-1
No files found.
TODO
View file @
64101231
...
...
@@ -4,6 +4,8 @@ immediate:
fix bug in http (java) client with big endian server: byte swapping is broken
cursor "smears" sometimes when not using cursor encoding
really support pthreads.
- cursor seems to be undrawn wildly
- connection gone and then reconnect is a problem
in the works:
-------------
...
...
cursor.c
View file @
64101231
...
...
@@ -224,7 +224,10 @@ rfbCursorPtr rfbMakeXCursor(int width,int height,char* cursorString,char* maskSt
rfbCursorPtr
cursor
=
(
rfbCursorPtr
)
calloc
(
1
,
sizeof
(
rfbCursor
));
char
*
cp
;
unsigned
char
bit
;
#ifdef HAVE_PTHREADS
pthread_mutex_init
(
&
cursor
->
mutex
,
NULL
);
#endif
cursor
->
width
=
width
;
cursor
->
height
=
height
;
//cursor->backRed=cursor->backGreen=cursor->backBlue=0xffff;
...
...
@@ -272,6 +275,9 @@ char* rfbMakeMaskForXCursor(int width,int height,char* source)
void
rfbFreeCursor
(
rfbCursorPtr
cursor
)
{
if
(
cursor
)
{
#ifdef HAVE_PTHREADS
pthread_mutex_destroy
(
&
cursor
->
mutex
);
#endif
free
(
cursor
->
source
);
free
(
cursor
->
mask
);
free
(
cursor
);
...
...
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